From 387e90506c4223a21ad7e0566cc24aeb85b279dc Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 25 Oct 2022 21:36:41 +0200 Subject: [PATCH] update form example --- src/pages/showcase/astro-reactive-form.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/showcase/astro-reactive-form.astro b/src/pages/showcase/astro-reactive-form.astro index 1ba21f6..8a04fce 100644 --- a/src/pages/showcase/astro-reactive-form.astro +++ b/src/pages/showcase/astro-reactive-form.astro @@ -39,9 +39,9 @@ const characteristics: ControlConfig[] = [ name: "is-good-looking", type: "radio", label: "Is Good Looking?", - value: ["checked"], - labelPosition: "right", + value: [{value: "checked", label: "checked", checked: true}, {value: "not checked", label: "not checked", checked: false}], }, + {name: 'required', label: 'Required Field', placeholder: 'but empty 😔', validators: [Validators.required]}, { name: "is-awesome", type: "checkbox",