
Announcements
Hello Everyone, I'm a newbie when it comes to PowerApps and on process of learning it. Right now, I am currently building an app using PowerApps and using Sharepoint as my datasource.
Issue:
I have a combo box on one of my screen and if the value entered is not listed on my column, then the entered text should be accepted as a normal text.
Items Property = (Column Name)
Now, I added a Label to reflect the data entered from the combo box:
Text Property - ComboBox2.SearchText
Then, I added a button that should submit the data from the label (which is dynamic)
OnSelect Property - Patch('SP Name',Defaults('SP Name'), {'Column Name': {Value: "Label4.SelectedText.Value"}})
Please advise.
Thank you!
Hi @Ha-wold ,
Firstly, you should be using ComboBox.Selected.Value (not SearchText), but if you are Patching back to a Text field
Patch(
'SP Name',
Defaults('SP Name'),
{'Column Name': ComboBoxName.Selected.Value}
)
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.
Visit my blog Practical Power Apps