1
0
mirror of synced 2024-11-25 14:56:03 +03:00
vue-formulario/test
Justin Schroeder 4b36b9c4ba
Adds validation rules endsWith, startsWith and fixes box classification blur handler
* 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>
2020-03-04 13:45:37 -05:00
..
Formulate.test.js Adds support for plugin architecture 2020-02-27 14:47:24 -05:00
FormulateForm.test.js Fixes #6 2020-03-02 01:34:18 -05:00
FormulateInput.test.js Includes support for slider values, custom validation rules and messages 2020-02-27 01:18:51 -05:00
FormulateInputBox.test.js Adds validation rules endsWith, startsWith and fixes box classification blur handler 2020-03-04 13:45:37 -05:00
FormulateInputButton.test.js Adds support for buttons 2020-01-28 12:12:08 -05:00
FormulateInputFile.test.js Initial file upload tests 2020-02-27 23:39:44 -05:00
FormulateInputSlider.test.js Includes support for slider values, custom validation rules and messages 2020-02-27 01:18:51 -05:00
FormulateInputText.test.js Fixes issue with grouped options hydrating initial values 2020-03-01 22:29:54 -05:00
jest.conf.js Includes support for slider values, custom validation rules and messages 2020-02-27 01:18:51 -05:00
rules.test.js Adds validation rules endsWith, startsWith and fixes box classification blur handler 2020-03-04 13:45:37 -05:00
utils.test.js Adds validation rules endsWith, startsWith and fixes box classification blur handler 2020-03-04 13:45:37 -05:00