docs: update readme

This commit is contained in:
Ayo 2022-09-25 21:52:47 +02:00
parent 86f9aec40d
commit c7e9c7de9a

View file

@ -29,3 +29,20 @@ const form = new FormGroup([
--- ---
<Form formGroup={form} /> <Form formGroup={form} />
``` ```
# Future Plans
Currently this only supports very basic form creation, but the goal of the project is ambitious:
1. FormGroup class
1. get(controlName: string) - returns the FormControl with matching name
1. statusChanges - observable that emits the form status when it changes
1. valueChanges - observable that emits the values of all controls when they change
1. FormControl class
1. setValue(value) - set the value of the control programmatically
1. statusChanges - observable that emits the control status when it changes
1. valueChanges - observable that emits the control value when it changes
... and so much more
**All contributions are welcome. Let's make the fastest web form component powered by Astro**