@johnjohn123 ,
I thought I described it fairly well for a user with the level of code I have seen you post previously . You need to
Unlock the data card
Add a Text input (I assume there is a Combo Box in there already)
Add an icon or button in there setting a Variable
UpdateContext({varAdd: !varAdd})
which allows you to toggle between the boxes - also at Screen OnVisible set this Variable to false
The Visible of the Combo Box would be
!varAdd
The Visible of the Text box would be
varAdd
The Update of the data card would be
If(
varAdd,
YourTextBoxName.Text,
YourComboBoxName.Selected.xxxx
)
where xxxx is the valid output of the combo box (Value/Result/FieldName). I am also assuming a single-choice combo box here or this gets difficult.
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