1
0
mirror of synced 2024-11-22 05:16:05 +03:00
Commit Graph

424 Commits

Author SHA1 Message Date
Zaytsev Kirill
602af0a22d chore: Typehints fixes 2020-11-10 09:47:40 +03:00
Zaytsev Kirill
b567c115c9 chore: Removed unnecessary comment 2020-11-10 09:46:04 +03:00
Zaytsev Kirill
0bca0873a6 style: Code style 2020-11-09 09:52:04 +03:00
Zaytsev Kirill
c82c8de5db chore: Typehints, rewritten comments in @/validation/messages 2020-11-09 09:52:04 +03:00
Zaytsev Kirill
62e65687d1 chore: Types renames 2020-11-09 09:52:04 +03:00
Zaytsev Kirill
8e3bacab3c refactor: Got rid of promises in default validation rules fns, rewritten rules tests 2020-11-09 09:52:04 +03:00
Zaytsev Kirill
a0345a605e refactor: Moved install method out of Formulario class 2020-11-09 09:52:04 +03:00
Zaytsev Kirill
aa35a16a9d chore: Replaced old stories 2020-11-09 09:52:04 +03:00
Zaytsev Kirill
904119deb8 refactor: Renamed register() method to add(), old add() method removed 2020-11-09 09:48:55 +03:00
Zaytsev Kirill
edf1fc6340 fix: cloning dates in clone util 2020-11-09 09:48:55 +03:00
Zaytsev Kirill
98b5c0935d test: Restored remaining tests for form 2020-11-09 09:48:55 +03:00
1on
cfee007165 0.3.2 2020-11-02 12:04:31 +03:00
Kruglov Kirill
5585b20d84
Merge pull request #13 from 1on/master
Fixed working with array of fields
2020-11-02 12:03:39 +03:00
1on
8f4081357d fix: Fixed setNested when removed field from array of fields 2020-11-02 11:59:27 +03:00
1on
96a991f46f fix: Fixed registry.getNested for array of fields 2020-11-02 11:59:26 +03:00
1on
f52cd2e2e7 docs: Added storybook for case of array of fields 2020-11-02 11:54:50 +03:00
1on
5f0fc7f56b 0.3.1 2020-10-28 16:22:18 +03:00
Kruglov Kirill
02d68ad805
Merge pull request #12 from 1on/master
Deep option on watch and getField method
2020-10-28 16:21:23 +03:00
1on
9ae0e4e859 fix: added deep option for watch on mergedFieldErrors 2020-10-28 16:02:23 +03:00
Kruglov Kirill
f2d3fcd217
Merge pull request #11 from cmath10/fix-build
Build & storybook fixes
2020-10-27 17:47:33 +03:00
Zaytsev Kirill
16d500b33d fix: Fixed stories because of last api changes, code cleanup 2020-10-27 17:43:49 +03:00
Zaytsev Kirill
0e1b8ac05e fix: Updated rollup-terser-plugin build dependency 2020-10-27 17:43:49 +03:00
1on
947722b5db 0.3.0 2020-10-27 10:50:02 +03:00
Kruglov Kirill
01357aef1e
Merge pull request #10 from cmath10/proposal-refactor#validation
Validation refactor
2020-10-27 10:47:42 +03:00
Zaytsev Kirill
47f631e6ae test: Added tests for validation functions 2020-10-26 20:54:43 +03:00
Zaytsev Kirill
4251d46591 refactor!: rules & messages Formulario options renamed to validationRules & validationMessages 2020-10-26 17:03:24 +03:00
Zaytsev Kirill
1caff9c089 chore: Returned back allErrors in storybook 2020-10-26 17:00:18 +03:00
Zaytsev Kirill
07f3168e1e feat!: FormularioInput context.allErrors now is string array 2020-10-26 16:53:52 +03:00
Zaytsev Kirill
ad7336d595 chore!: Removed errors prop from FormularioInput 2020-10-26 16:50:12 +03:00
Zaytsev Kirill
dba96a2fb2 refactor: Replaced check of allErrors with check of violations in storybook 2020-10-26 00:52:09 +03:00
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
91a97e4365 refactor: pendingValidation renamed to validationRun 2020-10-26 00:43:09 +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
1on
357d493899 0.2.0 2020-10-23 14:15:57 +03:00
Kruglov Kirill
e1a10ee61e
Merge pull request #9 from cmath10/proposal-cleanup
Validation logic refactor, dead code removal, plugin system removed, file upload functionality removed
2020-10-23 14:14:39 +03:00
Zaytsev Kirill
89d99cccc7 chore: Code comments 2020-10-23 13:37:51 +03:00
Zaytsev Kirill
cd248b7678 refactor: Decrease of code block nesting 2020-10-23 13:24:27 +03:00
Zaytsev Kirill
25a4f5530f chore: Dead code removal 2020-10-22 17:45:00 +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
434b288a3c fix: Validator groups enlargement, number validation rule 2020-10-22 14:20:50 +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