Page 1 of 1

record.isEditing() improvement suggestions

PostPosted: Fri Jun 13, 2014 3:36 pm
by nevenam
I came upon a behavior which at first seemed to me strange. Calling jsRecord.isEditing() returns true when jsRecord.hasChangedData() returns false and jsRecord.getChangedData() returns no data. It seems that the isEditing() method is bound to the UI form fields - if an editable field is focused, isEditing() returns true, even if there are no changes in the record. Can you at least describe that behavior in the jsdoc of the isEditing() method?

Re: record.isEditing() improvement suggestions

PostPosted: Mon Jul 14, 2014 10:13 am
by jcompagner
i improved the doc a bit (saying that it doesn't have to have changes, but it is accepting changes)