Browse Source

Comment

pull/1785/head
jlukic 9 years ago
parent
commit
0a436768c6
2 changed files with 2 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/behaviors/form.js

1
RELEASE-NOTES.md

@ -37,6 +37,7 @@
- **Dropdown** - Added new dropdown setting, `forceSelection` which forces `search selection` to a selected value on blur. Defaults to `true`.
- **Flag** - Updated Burma/Myanmar flag to current flag (was pre-2010 flag)
- **Form** - Input rules now apply to `input[type="time"]`
- **Form Validation** - `get values`, `set values` now support multiple select e.g. `field[]`
- **Form Validation** - Dropdown and checkbox will now validate after interaction with `on: 'blur'`
- **Headers** - Headers can now contain images alongside text, added examples to docs
- **Icon** - Added woff2 icon files for supported browsers (20% file-size decrease) **Thanks FontAwesome**

2
src/definitions/behaviors/form.js

@ -562,7 +562,7 @@ $.fn.form = function(fields, parameters) {
;
if(fieldExists) {
if(isMultiple && isCheckbox) {
module.verbose('Selecting multiple select', value, $field);
module.verbose('Selecting multiple', value, $field);
$element.checkbox('uncheck');
$.each(value, function(index, value) {
$multipleField = $field.filter('[value="' + value + '"]');

Loading…
Cancel
Save