1
0
mirror of synced 2024-11-25 14:56:03 +03:00
Commit Graph

58 Commits

Author SHA1 Message Date
Zaytsev Kirill
3cc80f20da test: Removed checks for allErrors prop, replaced with checks for particular errors & violations 2020-10-26 00:51:19 +03:00
Zaytsev Kirill
7b5d38923f refactor!: errorBehavior renamed to validationBehavior 2020-10-26 00:43:09 +03:00
Zaytsev Kirill
3f5735299d refactor: Moved utils to separated files, code cleanup 2020-10-26 00:43:09 +03:00
Zaytsev Kirill
e814edf9fc refactor!: performValidation method renamed to runValidation 2020-10-26 00:43:09 +03:00
Zaytsev Kirill
b1e126a149 refactor!: Renamed validationMessages Formulario option to messages 2020-10-26 00:43:09 +03:00
Zaytsev Kirill
ea93863a05 feat!: Remove blur error behavior & blurHandler, validation logic refactor & cleanup 2020-10-26 00:43:09 +03:00
Zaytsev Kirill
3d31c461e6 feat!: formularioValue prop removed, prop value now used as model 2020-10-26 00:43:09 +03:00
Zaytsev Kirill
13362a703a test: Removed unnecessary slots 2020-10-22 17:23:45 +03:00
Zaytsev Kirill
9540e37226 test: Fixed tests for submit event 2020-10-22 17:16:49 +03:00
Zaytsev Kirill
cc5bb03bae chore!: Removed uploading functionality, dead code removals 2020-10-22 16:37:57 +03:00
Zaytsev Kirill
c85f3332eb fix: Getting validators
BREAKING CHANGE: Removed form registry
2020-10-22 13:46:35 +03:00
Zaytsev Kirill
467dca656b refactor: Validation logic refactor, additional typehints, removed dead code
BREAKING CHANGE: Plugin system removed
2020-10-22 10:59:47 +03:00
Zaytsev Kirill
6e0f9b3223 test: Rewritten grouping test without checking internal class FormSubmission 2020-10-22 10:52:01 +03:00
1on
06c79905a8 fix: Removed validation on field value change, when errorBehavior is not live 2020-10-21 10:57:58 +03:00
Zaytsev Kirill
bd53602f5e chore: Added changes from master 2020-10-19 13:45:32 +03:00
Zaytsev Kirill
54bf820824 chore: Additional typehints, Object/ObjectType replaced with Record<string, any> 2020-10-19 13:45:25 +03:00
Zaytsev Kirill
a3eb14a745 fix: Nested fields assignment, classes computed prop removed, additional typehints 2020-10-19 13:45:24 +03:00
Zaytsev Kirill
ec1035a9a0 refactor: Merge utility moved to a separated file 2020-10-19 13:45:20 +03:00
Zaytsev Kirill
713a2bab51 chore: Build config fixes, modules paths correction 2020-10-19 13:45:15 +03:00
Zaytsev Kirill
45f29ff27a refactor: Validation callbacks logic simplification, typehints 2020-10-19 13:45:13 +03:00
Zaytsev Kirill
63a7c88905 refactor: Rewritten onto typescript@3.9 2020-10-19 13:45:11 +03:00
Zaytsev Kirill
acb6357433 style: Addition of the eslint rules 2020-10-19 13:45:11 +03:00
1on
f53738dac3 Fixed shallowEqualObjects on Date 2020-10-16 10:52:54 +03:00
1on
ef285012fa Removed field validation on created when errorBehavior is not live. 2020-10-16 10:52:54 +03:00
1on
15ec7c7743 Errors now are an objects with fields message, rule and context. Fixed validation messages generation. Default validation messages generator added. 2020-05-25 13:41:38 +03:00
1on
348f3aa017 Tests actualized 2020-05-22 14:22:57 +03:00
Justin Schroeder
bed18767fb Fixes bug that could cause the wrong repeatable group to be removed 2020-05-18 00:15:45 -04:00
Justin Schroeder
2d097fadb4 Adds support for new named form methods 2020-05-15 23:20:29 -04:00
Justin Schroeder
1d869936c8 Merge branch 'feature/error-behavior' into feature/grouping 2020-05-15 14:13:29 -04:00
Justin Schroeder
fbc54bd72b Adds aria-describedby, rule bailing 2020-05-15 14:08:58 -04:00
Justin Schroeder
af5e23098d Fixes issue #55, removing form data on deregister 2020-05-14 16:45:29 -04:00
Justin Schroeder
fdcf7b3dbf Updates vue-test-utils to 1.0.2 2020-05-14 16:08:54 -04:00
Justin Schroeder
1e403a7fe9 Adds slot component tests 2020-05-10 15:23:18 -04:00
Justin Schroeder
9f20c63f13 Adds default empty state for non repeatable groups 2020-05-10 10:24:38 -04:00
Justin Schroeder
a08163fba8 Adds index support to default context 2020-05-09 23:01:02 -04:00
Justin Schroeder
07165d4d97 Adds testing and more rubust support for repeating groups 2020-05-08 17:25:52 -04:00
Justin Schroeder
8e3ca76685 Adds initial grouping tests and first functional, repeatable, modelable grouped fields 2020-05-06 23:33:58 -04:00
Justin Schroeder
1d5606c939 Adds build files 2020-05-04 16:02:15 -04:00
Justin Schroeder
aed01eb4ff Adds support for deterministic ids 2020-05-01 15:58:40 -04:00
Andrew Boyd
70ebb846ce passes name through to box elements and adds tests to check agaist unwanted props bleed 2020-05-01 15:42:47 -04:00
Andrew Boyd
59ee882863 adds name prop as pass-through attribute on certain input types 2020-05-01 14:57:30 -04:00
Chris
57a349fa3c adding FormulateInput deregister functionality 2020-04-28 12:00:38 -04:00
Justin Schroeder
f7248d029c Adds new registry class 2020-04-22 00:00:02 -04:00
Justin Schroeder
978a209e3e Adds array support to cloneDeep 2020-04-19 14:34:25 -04:00
Justin Schroeder
8b25eee634 Basic grouping inheritance working 2020-04-18 23:57:43 -04:00
Justin Schroeder
105cae1a78 Adds initial grouping capability 2020-04-18 00:39:25 -04:00
Justin Schroeder
dfef74cd27 Removes all style block tags 2020-04-16 10:21:12 -04:00
Justin Schroeder
1e52dcc213 Adds initial work on groupings 2020-04-16 09:22:58 -04:00
Justin Schroeder
ada48ec31f
Fixes #60 and merges #61.
- 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.
2020-04-13 11:59:54 -04:00
Justin Schroeder
3d79733cba INitial scoped slot expansion work 2020-04-06 09:29:04 -04:00