web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Combobox not keeping T...
Power Apps
Answered

Combobox not keeping True for IsSearchable for a float value in a SQL Table.

(0) ShareShare
ReportReport
Posted on by

Hello All,

 

Hope someone can help me with a what I hope is a simple problem with an Edit Form in PowerApps.  I am very new to PowerApps and this is my first project.

 

I have an Edit Form that is Adding Records to an SQL Table.

 

I am using Comboboxes that are searchable so that my users can either select a value that is already existing OR they can add in a new value that isn't already in the list.  It works great for all of the nvarchar fields in the SQL Database.  The IsSearchable switch can be set to True for those no problem.  When testing, users can either choose from an item in the combobox list or enter new items in the Search Box and the Search Criteria is added to the row in the table.  Works just like I want it to.

 

But I can't make it stick with a field that is a float in the SQL Database.  All settings seem to be identical to the combobox setup up for the text fields, but when I try to change False to True in the IsSearchable box it just changes back to False when I exit the box.

 

When I run the form and choose an item from the combobox drop down it is entered into the row just fine, but a user won't be able to enter a new item if they can't search.

 

Any ideas on what I'm doing wrong?  Is there something that needs to be changed on the SQL side with the datatype?

 

Any advice is much appreciated!

Categories:
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ck_2021 ,

     

    You could try these steps:

    1\ This is my table in sql server

    vxiaochenmsft_0-1629780417633.png

    vxiaochenmsft_1-1629780428389.png

     

    2\ Add a button control and set its onselect property to:

    ClearCollect(Col,AddColumns(Table_1,"Test",Text(Myfloat)))

    vxiaochenmsft_2-1629780466175.png

     

    3\ Add a combo box control and set its items property to:

    Col

     

    Set the combo box control's SearchFields property to:

    ["Test"]

     

    Best Regards,

    Wearsky

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard