options
as an array of objects, you can now specify options as an object with {value: label} format. Values are coerced into the expected type. (Thanks @comerc)autosave=true
, fields with type="contenteditable"
now properly autosave. (Thanks @MichalW)true
, false
, or undefined
) in all cases.true
or false
as its value. Previously, it could return undefined
instead of false
sometimes.afFieldValueContains
and it will return true
if any of those values are in the array. (thanks @comerc)onSubmit
, you can now call this.done(null, result)
when done, and result
will be passed to onSuccess
as the second argument. If there are multiple onSubmit
hooks, only the first provided result will be passed to onSuccess
.onSuccess
is called after an insert
, this.docId
is now set to the new document _id
.