I must be missing something...
Why do on change events fire when the record view is loaded before that field is indeed changed?
How can I stop the execution of an on change until the field is actually changed?
thanks,
Francesca
if(!_.isEmpty(this.model.get('contact_id_c')) && typeof(this.model.previous('contact_id_c'))!=='undefined' && !_.isEqual(this.model.get('contact_id_c'),this.model.previous('contact_id_c')))thank you everyone!
if(!_.isEmpty(this.model.get('contact_id_c')) && typeof(this.model.previous('contact_id_c'))!=='undefined' && !_.isEqual(this.model.get('contact_id_c'),this.model.previous('contact_id_c')))thank you everyone!