Releases: SimplySayHi/formJS
Releases · SimplySayHi/formJS
v5.4.0
- Add "modified" and "touched" to "cssClasses" for "fieldOptions" ( full version only )
- Add "error" and "pending" to "cssClasses" for "formOptions" ( full version only )
- Add "nestedMultipartDataToJSON" to "formOptions" to allow transformation of nested objects for FormData ( full version only )
- Add "eslint" to dev dependencies
- Add internal method to fix issue on sub-class initialization where "initialValues" was returned as empty object ( full version only )
- Fix bug on multipart form management ( full version only )
- Fix on form submit: css class for "submit" is now added after form validation and before submit instead of before form validation ( full version only )
- Minor improvements
v5.3.2
- Fix bug on "destroy" method: custom event listener for group validation was not removed ( full version only )
v5.3.1
- Removed "dist/additionals" from .gitignore to allow import additionals
v5.3.0
- Added "exports" to package.json in order to export also lite version and extra features
- Add "utils" to exported items
- Added option "groups" in "formOptions" to enable validation steps/groups ( full version only )
- Added instance prop "currentGroup" ( full version only )
- Added method "validateFieldsGroup" ( full version only )
- Added event "fjs.group:validation" ( full version only )
- Fixed bug on method "validateForm" to fire event "fjs.field:validation" for each filed after validation ( Lite version only )
- Minor internal improvements
- DEPRECATED features ( will be dropped in v6 ):
- Support for IE and old browsers
- SystemJS version
v5.2.0
- Added method "validateFilledFields" ( full version only )
- Update "getFormData" to support object notation in fields name in returned js object ( full version only )
- Added support for custom events for Lite version
- Minor improvements
v5.1.0
- Added "trimValue" in "fieldOptions" ( full version only )
- Added argument "trimValues" for method "getFormData" ( full version only )
- Added HTML attribute "data-field-options" to enable specific field options for single fields
- Added "fieldOptions" to data passed to "beforeValidation" callback(s)
- Re-introduced "maxFileSize" in "fieldOptions"
- Re-introduced "fieldOptions" argument passed to validation rules
- Fixed bug where css class(es) for "pending" were not removed when enabling "onValidationCheckAll" ( full version only )
- DEPRECATED features:
- HTML attribute "data-max-file-size" in favor of "maxFileSize" in "fieldOptions" and/or HTML attribute "data-field-options"
v4.4.0
- Added "trimValue" in "fieldOptions" ( full version only )
- Added argument "trimValues" for method "getFormData" ( full version only )
- Added HTML attribute "data-field-options" to enable specific field options for single fields
- Added "fieldOptions" to data passed to "beforeValidation" callback(s)
- Fixed bug where "fieldOptions" argument was not declared in validation method for input type "file"
- Fixed bug where css class(es) for "pending" were not removed when enabling fieldOptions.onValidationCheckAll ( full version only )
- DEPRECATED features:
- HTML attribute "data-max-file-size" in favor of "maxFileSize" in "fieldOptions" and/or HTML attribute "data-field-options"
v5.0.2
- Enabled validation for "change" event only ( full version only )
v4.3.4
- Enabled validation for "change" event only ( full version only )
v5.0.1
- Exported main versions as UMD instead of IIFE for better environments compatibility