1
0
mirror of synced 2024-11-26 23:36:02 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
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
cf9396e0d6 Fixes issue with grouped options hydrating initial values 2020-03-01 22:29:54 -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
778d6b8731 Makes value set the initial value of inputs 2020-01-31 22:50:18 -05:00
Justin Schroeder
cb9349a6cf Adds new date format capability and associated tests 2019-11-14 01:00:56 -05:00
Justin Schroeder
ba24fc21e8 Adds default validation messages for all rule types 2019-11-13 16:10:17 -05:00
Justin Schroeder
a53edaa342 Initial tests written for validation parsing and rules 2019-11-06 17:17:19 -05:00
Justin Schroeder
c736f818af Removes debugging artifacts for Travis CI troubleshooting 2019-11-01 21:03:01 -04:00
Justin Schroeder
4f250563fd Updated formualte to be capitalized 2019-11-01 17:12:27 -04: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
Justin Schroeder
7809cdd2e3 Adds form level data binding 2019-10-29 23:33:31 -04:00
Justin Schroeder
3ad166ac90 Adds full multi-option support for checkboxes and radios 2019-10-08 13:50:53 -04:00
Justin Schroeder
27bd2bda26 Initial commit of the version 2 rewrite 2019-10-07 10:24:30 -04:00