resetAttribute
Discards any unsaved changes to the given attribute.
Example
record.get('name'); // 'Untitled Document' record.set('name', 'Doc 1'); record.get('name'); // 'Doc 1' record.resetAttribute('name'); record.get('name'); // 'Untitled Document'
Please login to continue.