diff --git a/playground/components/LabeledInput.vue b/playground/components/LabeledInput.vue index 6774253..1cae4bb 100644 --- a/playground/components/LabeledInput.vue +++ b/playground/components/LabeledInput.vue @@ -36,7 +36,7 @@ defineEmits(["change"]); :id="id" v-model="model" :name="name" - class="rounded-md px-2 py-1" + class="rounded-md bg-gray-950 px-2 py-1" @change="$emit('change')" />
This is a playground for testing the Nuxt Precognition module.
-There are two different registration form examples which you can try out:
-
- The first "Register" is a form which uses the useForm
composable. Form data is sent to the server
- and validated upons submission.
-
- The useForm composable is used to provide some very convenient lifecycle hooks for the form, as well as nice - validation and error handling. -
+This is a playground for testing the Nuxt Precognition module.
+There are two different registration form examples which you can try out.
+
+ The first "Register" is a form which uses the useForm
composable. Form data is sent to the server and
+ validated upons submission.
+
+ The useForm composable is used to provide some very convenient lifecycle hooks for the form, as well as nice + validation and error handling. +
-The second "Register-Precog"is a form which uses the usePrecognitionForm
composable.
- In addition to the features of the useForm
composable, the usePrecognitionForm composable also
- provides a validate
method which can be used to validate the form data before the form is
- submitted. This method is called on the @change hook of the inputs to validate as the user is entering data.
-
The second "Register-Precog"is a form which uses the usePrecognitionForm
composable.
+ In addition to the features of the useForm
composable, the usePrecognitionForm composable also
+ provides a validate
method which can be used to validate the form data before the form is submitted.
+ This method is called on the @change hook of the inputs to validate as the user is entering data.
+