Hello,
I am experiencing an issue with how editNewRecord() is affecting a DynamicForm. In the attached, we have a ListGrid, a DynamicForm that will be used to add/edit records, and some buttons to invoke the adding, updating, etc.
When selecting the 'New' button, editNewRecord() is called. After selecting 'Save' or 'Cancel', the record is saved as expected, however the primaryKey field for the form remains editable even after setting form.canEdit = false.
Is this expected behavior? How can I truly set the entire form to being un-editable after calling editNewRecord()?
Thanks!
I am experiencing an issue with how editNewRecord() is affecting a DynamicForm. In the attached, we have a ListGrid, a DynamicForm that will be used to add/edit records, and some buttons to invoke the adding, updating, etc.
When selecting the 'New' button, editNewRecord() is called. After selecting 'Save' or 'Cancel', the record is saved as expected, however the primaryKey field for the form remains editable even after setting form.canEdit = false.
Is this expected behavior? How can I truly set the entire form to being un-editable after calling editNewRecord()?
Thanks!
Comment