meteor-autoform

AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.

MIT License

Stars
1.4K
Committers
83
meteor-autoform -

Published by aldeed over 9 years ago

Minor fix

meteor-autoform -

Published by aldeed over 9 years ago

meteor-autoform -

Published by aldeed over 9 years ago

Not ready for use

meteor-autoform -

Published by aldeed almost 10 years ago

  • Fixed "Can't set timers inside simulations" error (Thanks @SachaG)
  • Switched Moment dependency to official momentjs:moment package
meteor-autoform -

Published by aldeed almost 10 years ago

Fix AutoForm.getFieldValue reactivity when the field is in an #if block

meteor-autoform -

Published by aldeed almost 10 years ago

  • As an alternative to the current method of specifying 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)
  • When you have an update form with autosave=true, fields with type="contenteditable" now properly autosave. (Thanks @MichalW)
meteor-autoform -

Published by aldeed almost 10 years ago

  • The "boolean-radios" input type now outputs the correct field value (true, false, or undefined) in all cases.
  • The "boolean-checkbox" input type now always returns either true or false as its value. Previously, it could return undefined instead of false sometimes.
  • You can now pass a comma-separated list of values to afFieldValueContains and it will return true if 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 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.
  • When onSuccess is called after an insert, this.docId is 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)
Badges
Extracted from project README
Project Status: Active – The project has reached a stable, usable state and is being actively developed. JavaScript Style Guide