Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Releases: adamwathan/form

v0.5.2

28 Apr 18:04
Compare
Choose a tag to compare
  • Make getValueFor public because why not

v0.5.1

20 Feb 15:02
Compare
Choose a tag to compare
  • Fix regression where you could not properly pre-select options with numeric keys in select inputs

v0.5.0

19 Feb 22:02
Compare
Choose a tag to compare
  • Support for multiselect default values
  • Basic support for array-style input names with defined keys

v0.4.0

29 Sep 13:16
Compare
Choose a tag to compare
  • Use null explicitly for "no value set" instead of anything falsey when checking to set an element's value
  • Check if the OldInputStore has any old input, instead of checking for old input for a specific key. Works much better with checkboxes this way.
  • Remove guessing of select option values when passing a non-associative array. Array keys are now always used as the option value, even if they are just the automatic index (0, 1, 2, 3...)

v0.3.2

12 Sep 13:30
Compare
Choose a tag to compare
  • Fixes XSS vulnerability in oldInput and model bindings
  • Fixes issue where inputs with names like foo[] couldn't properly be repopulated

v0.3.1

24 Aug 13:21
Compare
Choose a tag to compare
  • Fix bug involving multiple forms on one page and model binding

v0.3.0

12 Aug 13:16
Compare
Choose a tag to compare
  • Change <input type="submit"> to <button type="submit"></button>
  • Add defaultCheckedState method to checkboxes
  • Add support for setting attributes via __call
  • Add generic button element