backbonetutorials
backbonetutorials copied to clipboard
what is a model amend
Hi,
the example for validate needs to be changed to this.on('invalid', ...) and the validation to be executed or tested, needs the second parameter validate to equal true, person.set({ ... }, { validate: true }
Thanks for your time!