Unanswered: An equivalent to getModelData() for setting field values?
I love that I can override getModelData() in my custom field and provide multiple values to be set in my record when the form is submitted, but I can't seem to figure out how to read multiple values from my record when Basic.loadRecord() is called. Where is my setModelData()??
Surely a complimentary function should exist, but I can't seem to find it. What's the point of setting multiple record values from a custom form element if, to set all the field values from a record, you have to put special code in your form?
Tags for this Thread