Commit graph

12 commits

Author SHA1 Message Date
Ayo Ayco
4dc020027f
feat: create astro reactive validator (#90)
* feat: initial validator component

* chore: fix eslint for validator

* chore: update package info for validator

* chore: remove vscode settings for docs

* chore: put docs and demo into apps

* chore: move package scope @astro-reactive

* test: update tests for validator

* feat: validator functions, hooks

* feat: validator sets haserrors attribute

* feat: use data-validator attributes

* feat: showValidationHints

* feature: add logic for all validators

* refactor: remove Validator component usage

* docs(validator): initial readme

* chore: comment out unsupported validator

* docs(validator): update installation

* chore: package docs and publish

* chore: update deps

* docs: update npm info on docs

* docs(validator): update docs for validator

* fix(form): handle undefined form

* test(validator): update tests

* chore: organize files; update deps

* chore: fix build scripts
2022-10-15 16:32:02 +02:00
Ayo
8fe968fbc6 feat: new type for control configuration ControlConfig 2022-10-13 17:29:20 +02:00
Ayo Ayco
0acc1968c1
feat: support single form group (#71) 2022-10-08 22:29:08 +02:00
Fazza Razaq Amiarso
2fd25b7d93
feat: initial form control state (#60)
* Form control tries

* feat: implement form-control state

* fix: organize client methods

* fix(client): return undefined instead of throwing error

* fix: fix exports and lint

* fix: Change implementation of setting isPristine with proxy
2022-10-07 07:35:01 +02:00
Fazza Razaq Amiarso
a002593b02
[feat]:Form control state #4 (#58) 2022-10-06 23:19:49 +02:00
Ayo Ayco
2da037944b
feat: implement only one submit control (#59)
* feat: implement submit control

* refactor: remove label
2022-10-06 17:57:39 +02:00
Fazza Razaq Amiarso
a8bfaaa964
feat: Form control placeholder attribute (#48)
* feat: Add placeholder attribute

* fix: remove wrong interface

* fix: fix spacing issue

Co-authored-by: Ayo Ayco <ramon.aycojr@gmail.com>

Co-authored-by: Ayo Ayco <ramon.aycojr@gmail.com>
2022-10-05 18:30:47 +02:00
Ayo
63868e4587 feat: update demo app and package readme 2022-10-01 19:32:55 +02:00
Ayo
d85810621b feat: FormGroup.get(), FormControl.setValue() 2022-10-01 19:25:08 +02:00
Ayo
eddf262add chore: clean up monorepo 2022-10-01 15:44:39 +02:00
Ayo
c1f9716d8b move astro-reactive-form to separate workspace 2022-10-01 14:18:16 +02:00
Ayo
1927b14b66 initial demo app 2022-10-01 13:07:05 +02:00