docs: update readme example

This commit is contained in:
Ayo 2022-10-01 19:36:14 +02:00
parent 63868e4587
commit 56806e8225

View file

@ -55,6 +55,10 @@ const userNameControl = form.get("username");
userNameControl?.setValue("RAMOOOON"); userNameControl?.setValue("RAMOOOON");
form.get('is-awesome')?.setValue("checked"); form.get('is-awesome')?.setValue("checked");
--- ---
<!-- the formGroups attribute takes an array of FormGroup-->
<Form formGroups={[form]} />
``` ```
# Screenshots # Screenshots