
I have been struggling with trying to figure out how I can dynamically add a new value to a choice field in my Power App form.
I have a list "List1"
In the list I have a choice field "ChoiceField1"
The choices in "ChoiceFIeld1" are "Apples", "Peaches" and "Pears".
When I am in the app and can type a new name in the choices field, press a button that uses a patch function to update the choices so that it is available for use on the current form and any new form entry going forward.
I have tried doing this many ways but not able to pull it off.
I would appreciate any help regarding this.
Thank you,
Hi @golfnutt8 ,
Possible but a little complex as you would need to keep a separate data source list of these values and each time you press the button, check in the list that it exists, otherwise write it to the list. You would then use this list as the Items of the drop-down.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps