- Bugfix: Fixes#60, a bug that caused an evaluation loop when selects or box types used an empty array as the options prop. Adds supporting test cases.
- Merges in #61 which passes the form name to the error handler function. Adds supporting test cases.
* Upgrades vue-formulate-i18n to 1.3.0 for Italian support
* Fixes issue #35 data-has-preview (#38)
* Adds build files for 2.2.3
* Updates vue-formulate-i18n to 1.3.1
* Adds support form FormulateError form errors
* Adds support for form-errors prop
Also includes tests for both named-form-errors as well, form-errors prop, positioning form errors with the <FormulateErrors /> component, and allowing multiple <FormulateErrors />
* Adds form error support, error handling, and supporting tests
* Remove unused util functions
* Adds german localization locales/de.js (#14)
* Create de.js
* Added startsWith and endsWith
* adds build process for localization support, removes dist
* Adds danish localization
* fixes bug that resulted in validation failing if run more than once
Credit to @luan-nk-nguyen for discovering the bug
* Moves locales to vue-formulate-i18n
* Adds dist files for locales
* Adds vue-formulate-i18n 1.0.1
* Uses i18n 1.0.3
* Build files
* Fixes#19
* Update src/locales/README.md
Co-Authored-By: Andrew Boyd <andrew@wearebraid.com>
* changes v-html to v-text for error message output
credit to @skix123 for the bug report!
Co-authored-by: Andrew Boyd <andrew@wearebraid.com>
* Adds support form FormulateError form errors
* Adds support for form-errors prop
Also includes tests for both named-form-errors as well, form-errors prop, positioning form errors with the <FormulateErrors /> component, and allowing multiple <FormulateErrors />
* Adds form error support, error handling, and supporting tests
* Remove unused util functions
* fixes bug that resulted in validation failing if run more than once
Credit to @luan-nk-nguyen for discovering the bug
Co-authored-by: Andrew Boyd <andrew@wearebraid.com>
* adds language definitions for new rules
* re-order rules file to order rule definitions alphabetically
* adds support for endsWith validation rule and converts snake_case rules to camelCase function calls
* adds support for startsWith field validation
* better en.js definitions for new validations
* adds tests for snakeCaseToCamelCase function
* coerces all validation messages and validation rules to be camelCase under the hood
* ensures that array syntax rules are properly converted internally to camelCase
* adds more robust tests for non-string type data for endsWith and startsWith validation rules
* adds support for words that start with numbers to snakeToCamel method
renames snakeCaseToCamelCase to snakeToCamel to reduce package size
* Reduces some property name lengths for byte savings
* Fixes bug that caused validation rules to not be displayed on blur for the box classification
Co-authored-by: Justin Schroeder <justin@wearebraid.com>