We have a UI-Only picklist providing a subset - actually a different set - of values to a lengthy list specified in the database.
The skuid page needs to
- copy the value from the database field to the ui-only field on query,
- allow edits to the ui-only field, and then
- copy the ui-only value to the database field on save.
An example, set up a little differently:
The sObject includes Color__c, defined with values “Red”, “Blue”, “Green” and not restricted to these values.
The model includes a UI-Only field, UI_Color, with values “Yellow” and “Orange.”
The table displays Color__c and has a custom Edit row action. The action updates UI_Color to {{Color__c}} (in the XML. We cannot do this in the composer!) and then opens a popup.
The popup displays UI_Color in a field editor, allowing the user to select either Yellow or Orange.
The custom Save button on the popup updates Color__c to {{UI_Color}} – also in the XML because it can’t be done in the composer.
My thinking is that recent releases in v11.2 have added picklist field validation but have now tightened down the restriction to not allow for picklist fields that do not require values to be in the database list of values. We need an option to allow entry of values that either are not defined in the database field or are copied from other fields in the model - or even from other models - as used to be possible.
The overly restrictive version is v11.2.22.