Hello,
I’m facing an issue and would like some help. In my app, I have a field called dropdownClassification, and I want some fields to be automatically filled when the "100%" option is selected.
In the form, I’m using ComboBox fields that retrieve options from a SharePoint list.
I created a variable called procedimentos and assigned it to the DefaultSelectedItems property of the ComboBox. Initially, everything works as expected: when I select the "100%" option in the dropdownClassification, the ComboBox is automatically filled with the defined value.
The issue happens when saving the data. The values automatically assigned to the ComboBox are not being saved in the record, even though the spelling matches exactly with the SharePoint list used by the ComboBox. The app only saves the record if the option is selected manually in the ComboBox.
Below, I’m sharing the code I used for dropdownClassification and the ComboBox.
How can I make the automatically assigned values in the ComboBox save correctly?
Thank you for your help!
IF(
DropdownClassificatiom.Selected.'Classification'= "100%";
UpdateContext({ quantidade: 0; qualidade:10;
procedimentos: [{Value:" N/A"}]});;