I’m getting very different behavior out of a ComboBoxItem when it is in a ListGrid vs when it’s in a DynamicForm.
In a DynamicForm if you were to type in a value that does NOT have a match in the valueMap and then leave the field, it would return to the previous value.
In an editable ListGrid if you were to type in a value that does NOT have a match in the valueMap and then leave the field, it would keep what ever characters you typed and try to save the edits with that string.
Hi,
Is the text blue in one case and black in the other? Then addUnknownValues is different for the ComboBoxItem instances.
Try adding a ListGridField to the ListGrid with editorProperties set to a addUnknownValues(false) ComboBoxItem.
Best regards
Blama
@Blama that was it, simply moving addUnknownValues: false to the field’s editorProperties solved it.
Thanks a lot