backbonetutorials icon indicating copy to clipboard operation
backbonetutorials copied to clipboard

what is a model amend

Open punkbit opened this issue 11 years ago • 0 comments

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!

punkbit avatar Jul 21 '14 23:07 punkbit