I have a UI only checkbox on the model which is a new record A page. When that’s checked I want to set up notes field 1, 2 and 3 from another model which is a list of records A if that’s the last notes field with a value. I’m trying to make this work using the action on new record model via the params.updates on the checkbox. In the snippet, I make a remote action call to Salesforce since list of records A is used for display now and cannot be modified to handle the complexity of selecting the right notes field. The remote call works, but I cannot seem to call updateData() on the model without saving it first. I don’t want to save the model yet since user will need to fill out other data and might use this checkbox at any point before saving the record. Any suggestions on how to update the fields in the UI only without saving the model?
Question
How to update a field
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.