@Arif_Iqbal wrote:
How to reset all model value in ember , if we have model like this
export default DS.Model.extend(Validations, {
requestID: DS.attr(‘number’), customerNumber: DS.attr(‘string’), contactID: DS.attr(‘number’),
})
i can reset one value using this.set(‘model.contactID’,null) , but how to reset all values in component.js while calling on change function in UI
I.e if i have a dropdown option in UI i want to reset all values to null while changing values in dropdown
Posts: 1
Participants: 1