Hi @LsLee ,
You can use AddColumns to add multiple columns for each choice and patch inputs to corresponding choice columns.
Assuming that Items of combo box is this.
["Choice1","Choice2"]
Step1.
OnStart of App or OnVisible of Screen.
ClearCollect(COL,AddColumns(DataSource,Choice1,"",Choice2,""))
Step2.
OnChange of TextInput.
Switch(ComboBox.Selected.Value,"Choice1",Patch(COL,ThisItem,{Choice1:Self.Text}),"Choice2",Patch(COL,ThisItem,{Choice2:Self.Text}))
Default of TextInput.
Switch(ComboBox.Selected.Value,"Choice1",ThisItem.Choice1,"Choice2",ThisItem.Choice2)
Step3.
It should have a column in your data source to save selected choice.
OnChange of Combo box.
Patch(COL,ThisItem,{Title:Self.Selected.Value})
DefaultSelecteItems of Combo box.
{Value:ThisItem.Title}
Best regards,
Rimmon