This repository has been archived by the owner on Feb 26, 2018. It is now read-only.
Releases: adamwathan/form
Releases · adamwathan/form
v0.5.2
- Make
getValueFor
public because why not
v0.5.1
- Fix regression where you could not properly pre-select options with numeric keys in select inputs
v0.5.0
- Support for multiselect default values
- Basic support for array-style input names with defined keys
v0.4.0
- 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
- Fixes XSS vulnerability in oldInput and model bindings
- Fixes issue where inputs with names like
foo[]
couldn't properly be repopulated
v0.3.1
- Fix bug involving multiple forms on one page and model binding
v0.3.0
- 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