I have some problems to use multiple search fields in my app
The purpose of the first is to find supplier using name or VAT, second is to fill in counterpart, so the customer, again using name or VAT.
A) It works only in the first combobox, but both are exactly the same and in both is SearchFields value set to:
["Name"; "VAT"]
Is this known behaviour?
B) It is being reset to one searchfield every time I open web editor .
Any clue why is this happening?
Hi @TomasZubov,
What is the formula that you used on the Items property of combo box? Also, explain the related data types. Notice the formula in SearchFields shoud be:
["Name", "VAT"]
Also take a screenshot of below settings:
Regards,
Mona
Hello @v-monli-msft,
Problem is that Microsoft decided long time ago, for some weird reason that I will never understand, to translate commands in Excel and the same is unfortunatelly true for PowerApps.
["VAT", "Name"] - does not work in Czech language ["VAT"; "Name"] - is "ok"
There is no difference if you have just 'dbo.companies' or Filter(...) in Items. Currently I have there full table so just 'dbo.companies' in Items.
I think that this issue is simply bug. I do not know where to report it... Cause of this bug is the translation mentioned above.
Workaround I found:
1) Set SearchFields ["VAT", "Name"] - ignore error (Unexpected symbols.....)
2) Run - stop preview
3) Correct SearchFields to ["VAT"; "Name"] - error is gone everything works fine now you can search in both columns
4) Repeat 1) - 3) for second combobox
5) Publish the version - everything works fine now you can search in both columns in both comboboxes
Problem is that you need to repeat steps above everytime you edit the app, because next time you open the app for editing, does not matter that you haven't changed a bit, SearchFields are reset to ["VAT"] only.
I'm also seeing this error. Think should be fixed!!!
Hi @TomasZubov , @Anonymous
Was this issue ever solved? I face same issue in an app a recently created. I have several comboboxes on different screens, but only the first inserted combobox on the first screen allows me to search multiple fields from my connected SQL data source.
The rest of my comboboxes are setup exact same way as the first, using the same data source.
Hi @Nicolai_Hardahl ,
I just tested that and at least now it works with semicolon, but you need to change it before every single change.
So issue with search field deletion is not fixed.
Hi @TomasZubov and THX for this. i live in Denmark and had the same problem. Hovever my solution has been to use "," instead of using ";" as i normaly do. I just ignored the error, and published the app, and it has been working fine since. Realy one of those "What?" moments. But once again, thank you for your solution.
/Frank
Denmark
Same problem in Finland 😞
Same problem in Mexico. The SearchField property keeps resetting the two columns and leaves only one.
When is that going to be fixed?
Fernando
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
208 | |
71 | |
51 | |
49 | |
20 |
User | Count |
---|---|
264 | |
122 | |
85 | |
80 | |
68 |