this is my code for the "other" for the choice selection. this saves what the end users types and adds it to be a choice for other users. this is not the functionality I want. I want the choices to stay static.
here is my code for the Combobox (dropdown)
here is how I setup the "Other" Choice:
Update= If(ErrorMessage18.Visible, Blank(), cmb_Name.Selected.Value="Other", {Value: txt_Name.Text}, cmb_Name.Selected )
DataCard Code:
********************************************************
Icon Code:
visible=!cmb_Name.Visible
txt_Name Code:
************************************************************
cmb_Name Code:
*DefaultSelectedItems=Filter(Choices([@'SharePoint Form'].Test_Combobox),Value="Choose"||Value="A"|| Value="B" ||Value="C"|| Value="Other")
Items=Ungroup(
Table(
{DropdownOptions: Choices([@'SharePoint Form'].Test_Combobox)},
{DropdownOptions: ["Other"]}
),
"DropdownOptions"
)
Self.Selected.Value<>"Other"
*DefaultSelectedItems
Filter(Choices([@'OAP Incident Form'].Test_Combobox),Value="Choose"||Value="A"|| Value="B" ||Value="C"|| Value="Other")
IsSearchable = false
Visible= Self.Selected.Value<>"Other"
*********************************************************************
*this does not work to keep the choice items static with only those items to choose from, when end users, use the "other" option, then that new entry is added. This is not what I want.

Report
All responses (
Answers (