1
0
mirror of synced 2024-11-23 22:06:07 +03:00
Commit Graph

464 Commits

Author SHA1 Message Date
Zaytsev Kirill
b1c2ee9056 chore: clone logic refactor preparations & typehinting 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
320df96b96 test: Tests logic refactor, typehinting improvements 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
9a344bf8b5 feat!: FormularioField - individual field errors are always presumed as a string array 2021-06-14 14:02:10 +03:00
Zaytsev Kirill
7f864c7951 test: Tests logic refactor 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
aee0dc977a feat: FormularioForm - added ::runValidation() method to run entire form validation manually and return all form violations 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
4e05844e73 refactor!: FormularioForm - renamed prop errors to fieldsErrors, some internal renamings; tests semantic improvements 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
e55ea0c410 test: Improved test for validation interruption & code style 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
4c3274e621 refactor: Simplified logic of field components registry, moved value set logic from registry to form component 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
8144c27c69 refactor!: FormularioForm - renamed formularioValue into state 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
fcbe4df667 style: Entries in the 'components' option in alphabetical order 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
c4a16c6fdf test: Imporved test for plugin install, fixed outdated components names 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
735fa3f126 chore!: FormularioField - removed formulario-input class from root element 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
6afe5f0a08 refactor: Got rid of error observer to push errors into fields 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
7aca27a010 refactor: Typehinting improvals, moved registry class, improved logic of shallow equal checker 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
e6271bb069 refactor: moved isScalar to new file, improved typehinting 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
013931fbfc feat: Renamed FormularioInput => FormularioField, FormularioGrouping => FormularioFieldGroup, old names are preserved in plugin install method for compatibility 2021-06-14 14:02:09 +03:00
Zaytsev Kirill
6a86d1f7b7 style: Rearranged imports 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
4cec18b1d7 test: Improved checking validation event & code style 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
cb2f350edf chore: Fixed description for registry forEach method 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
5547cb5b87 chore: Improved typehinting 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
8edc523af7 chore: Removed unused code 2021-06-14 13:59:23 +03:00
Zaytsev Kirill
9c758e9fbf docs: Updated story of address list - added possibility to remove items from list; removed outdated story 2021-06-14 13:59:23 +03:00
1on
46423dc8c6 0.5.1 2020-11-17 09:36:13 +03:00
Kruglov Kirill
91b928f144
Merge pull request #18 from 1on/dev
fix: fixed removing array item in form data
2020-11-17 09:34:02 +03:00
1on
ed0f3aaeac fix: fixed removing array item in form data 2020-11-16 17:42:26 +03:00
1on
6115322699 0.5.0 2020-11-13 14:45:37 +03:00
1on
8ca723af00 0.4.2 2020-11-13 13:03:46 +03:00
Kruglov Kirill
d4ca4d80df
Merge pull request #17 from cmath10/proposal-typehints
fix: Typehints for modelGetConverter / modelSetConverter
2020-11-13 13:03:21 +03:00
Zaytsev Kirill
7a6fc72839 fix: Typehints for modelGetConverter / modelSetConverter 2020-11-13 13:01:22 +03:00
Kruglov Kirill
50d0516a28
Merge pull request #16 from 1on/dev
feat: custom model setter and getter props are added for FormularioInput
2020-11-13 12:27:25 +03:00
1on
61bc90bc39 feat: custom model setter and getter props are added for FormularioInput 2020-11-13 12:13:55 +03:00
1on
57075b2b75 0.4.1 2020-11-12 10:17:27 +03:00
Kruglov Kirill
397fee45a3
Merge pull request #15 from 1on/dev
fix: Fixed resetting field`s local errors when form errors prop cleared
2020-11-12 10:11:36 +03:00
1on
75ee75f311 fix: Fixed resetting field`s local errors when form errors prop cleared 2020-11-12 10:05:56 +03:00
1on
20b08fe6e8 0.4.0 2020-11-11 11:56:00 +03:00
1on
12095b0b1c fix: Disabled terser due to problems in builded files 2020-11-11 11:32:43 +03:00
Kruglov Kirill
95ebddc161
Merge pull request #14 from cmath10/proposal-refactor#input
Refactored plugin install method; code style; typehints
2020-11-11 11:31:07 +03:00
Zaytsev Kirill
849738f0d0 refactor: Logic optimization 2020-11-10 17:27:14 +03:00
Zaytsev Kirill
13390b59c4 docs: Fixed README.md 2020-11-10 10:27:51 +03:00
Zaytsev Kirill
076e140452 chore: Typehints fixes 2020-11-10 09:53:13 +03:00
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