Justin Schroeder
adf8299a33
Feature/form errors ( #13 )
...
* 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>
2020-03-06 16:10:25 -05:00
Justin Schroeder
192a2cd93b
Fixes #6
2020-03-02 01:34:18 -05:00
Justin Schroeder
cf9396e0d6
Fixes issue with grouped options hydrating initial values
2020-03-01 22:29:54 -05:00
Justin Schroeder
12326a91fd
Adds a new values prop to FormulateForm
2020-02-29 00:50:31 -05:00
Justin Schroeder
c31e896b86
Includes support for slider values, custom validation rules and messages
2020-02-27 01:18:51 -05:00
Justin Schroeder
3a0bc0c26e
Fixes bug that caused FormulateForm::submitForm to return an unresolving promise
2020-02-26 10:11:34 -05:00
Justin Schroeder
839f0936ed
Fixes form submissions, and a bug that prevented value props from populating forms
2020-02-26 00:21:10 -05:00
Justin Schroeder
d7e3859951
Adds support for validation rules that are aware of other form elements
2020-02-25 17:32:40 -05:00
Justin Schroeder
9522459600
Adds a internalFormModelProxy to FormulateForm to allow two way model bindings
2019-11-05 10:52:05 -05:00
Justin Schroeder
d812479c8b
Revers to back using ../ as module import path
2019-11-01 16:08:18 -04:00
Justin Schroeder
4b85898462
Reverts to using esm.js
2019-11-01 16:01:42 -04:00
Justin Schroeder
a09ce24104
Adds js suffix to formulate module
2019-11-01 15:51:54 -04:00
Justin Schroeder
a30857fd2d
Updates tests to use src alias
2019-11-01 15:45:53 -04:00
Justin Schroeder
7d12414914
Updates babel-jest transform pattern matching
2019-11-01 14:47:25 -04:00
Justin Schroeder
58822a86e6
Adds a workaround test for bug vuejs/vue-test-utils#1130
2019-10-31 10:24:18 -04:00