Hi Members,
I have a requirement in Power Apps where I want to populate or bind the text input values in a Dropdown control.
Scenario:
I have a Power Apps Text input control [Multiline], a Dropdown control, and a Button Control. I will enter some text inside the text input box and then click on the Button.
Once I click on the button, all the user text values will bind in the Dropdown control as shown below:
But in my case, the text values are binding in the dropdown control like the image below. [which is an unexpected result]

In the button control's OnSelect property, I have put the below code:
UpdateContext({Country:TextInput1.Text})

In the dropdown control's Items property, I have put the below code:
Table({Text:Country,Value:Blank()},{Text:Country,Value:Blank()})

Can anyone please suggest how I can resolve this? Thanks in advance!