Ayo Ayco
30de5161f2
feat(form): change validate on load to true by default ( #284 )
2023-03-25 09:47:46 +01:00
Ayo Ayco
986151fe3e
docs(form): update Form properties and respective documentation ( #248 )
...
* chore: project clean up
* feat(form): update Form properties
* docs: update documentation for the Form properties
* fix(demo): update form method demo
2023-01-04 13:43:50 +01:00
Woramat Ngamkham
234ffaf38c
feat(form): add form action for submit ( #237 )
2022-12-27 20:42:34 +01:00
Woramat Ngamkham
975b2e821a
feat(form): add validateOnLoad prop ( #213 )
...
* feat(form): add validateOnLoad prop
* feat(form): add FormConfig interface
* refactor(form): refactor FormConfig
* refactor(demo): change params to FormConfig
* chore(demo): remove FormConfig on demo
* feat(form): make validateOnLoad to be false by default
* feat(form): add setValidateOnLoad method
* chore(form): edit comment on validateOnLoad
* feat(form): remove setValidateOnLoad in FormGroup
* revert(form): add FormConfig interface
This reverts commit 44b58d4a43d4d2e8bcd3dc799e3110f9b8f23604.
* revert(demo): change params to FormConfig
This reverts commit 98f8602000505a29d04493617043aa0cfb00a969.
2022-11-30 15:28:48 +07:00
Ayo Ayco
1d77e18f31
refactor(form): validation attributes set null instead of false ( #215 )
2022-11-28 19:46:22 +01:00
Lalit
965a16aaec
feat(validator): Adding error, warn, info categories support. ( #204 )
2022-11-26 18:34:14 +01:00
Alexander Samaniego
93a8d49f0a
feat(form): implement unique IDs ( #182 )
...
* Added Short Unique ID npm library
* Added unique ID to form-control
* Added unique ID to form-group
* Unique ID added to <form>
* Added unique IDs to control components
* Added IDs to label and fieldset
* Update Form.astro with requested changes
Co-authored-by: Ayo Ayco <ayo@ayco.io>
* Adjustments for requested changes.
Co-authored-by: Ayo Ayco <ayo@ayco.io>
2022-11-08 08:53:22 +01:00
Ayo Ayco
cec0a02c46
docs: initial Form, FormGroup documentation ( #176 )
...
* docs: initial structure and form api docs
* feat(docs): warning underconstruction
* docs: initial FormGroup and FormControl docs
* docs: initial example usage
* fix: docs build errors
2022-11-06 20:11:42 +01:00
Woramat Ngamkham
b4c33eec66
refactor(form): deprecate labelPosition ( #172 )
2022-11-01 16:24:29 +01:00
Allan Siqueira
f502e6ca24
feat(form): readOnly flag ( #166 )
...
* feat: add readOnly flag on form
* fix: resolve PR coments
* fix: add flag disabled to fields that dont have effect on readonly attr
2022-10-31 17:27:43 +01:00
Ayo
79882fd9b1
refactor: use @astro-reactive/common
2022-10-28 12:41:32 +02:00
Ayo Ayco
3d361fcb5b
refactor: form package cleanup ( #135 )
...
* refactor: form package cleanup
* refactor: organize components folder
2022-10-23 23:04:40 +02:00