Releases: Meteor-Community-Packages/meteor-autoform
Releases · Meteor-Community-Packages/meteor-autoform
v5.0.2
v5.0.1
v5.0.0
v5.0.0-pre.1
Not ready for use
v4.2.2
v4.2.1
v4.2.0
- As an alternative to the current method of specifying
optionsas 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) - When you have an update form with
autosave=true, fields withtype="contenteditable"now properly autosave. (Thanks @MichalW)
v4.1.0
- The "boolean-radios" input type now outputs the correct field value (
true,false, orundefined) in all cases. - The "boolean-checkbox" input type now always returns either
trueorfalseas its value. Previously, it could returnundefinedinstead offalsesometimes. - You can now pass a comma-separated list of values to
afFieldValueContainsand it will returntrueif any of those values are in the array. (thanks @comerc) - The "select-multiple" input type now has initial values set properly. (thanks @BigDSK)
- The "select-checkbox-inline" input type now has initial values set properly. (thanks @AlainPaumen)
- When handling submission with
onSubmit, you can now callthis.done(null, result)when done, andresultwill be passed toonSuccessas the second argument. If there are multipleonSubmithooks, only the first provided result will be passed toonSuccess. - When
onSuccessis called after aninsert,this.docIdis now set to the new document_id. - Update forms should now reset properly (to values from database).
- Fixes to migration of form input values on hot code push
- Other fixes (thanks @zimme and @mjgallag)