73 lines
1.3 KiB
Vue
73 lines
1.3 KiB
Vue
<script setup>
|
|
const firstName = ref('')
|
|
const email = ref('')
|
|
const mobile = ref()
|
|
const password = ref()
|
|
const checkbox = ref(false)
|
|
</script>
|
|
|
|
<template>
|
|
<VForm @submit.prevent="() => {}">
|
|
<VRow>
|
|
<VCol cols="12">
|
|
<VTextField
|
|
v-model="firstName"
|
|
label="First Name"
|
|
placeholder="John"
|
|
/>
|
|
</VCol>
|
|
|
|
<VCol cols="12">
|
|
<VTextField
|
|
v-model="email"
|
|
label="Email"
|
|
type="email"
|
|
placeholder="johndoe@example.com"
|
|
/>
|
|
</VCol>
|
|
|
|
<VCol cols="12">
|
|
<VTextField
|
|
v-model="mobile"
|
|
label="Mobile"
|
|
placeholder="+1 123 456 7890"
|
|
type="number"
|
|
/>
|
|
</VCol>
|
|
|
|
<VCol cols="12">
|
|
<VTextField
|
|
v-model="password"
|
|
label="Password"
|
|
type="password"
|
|
placeholder="············"
|
|
/>
|
|
</VCol>
|
|
|
|
<VCol cols="12">
|
|
<VCheckbox
|
|
v-model="checkbox"
|
|
label="Remember me"
|
|
/>
|
|
</VCol>
|
|
|
|
<VCol
|
|
cols="12"
|
|
class="d-flex gap-4"
|
|
>
|
|
<VBtn type="submit">
|
|
Submit
|
|
</VBtn>
|
|
|
|
<VBtn
|
|
type="reset"
|
|
color="secondary"
|
|
variant="tonal"
|
|
>
|
|
Reset
|
|
</VBtn>
|
|
</VCol>
|
|
</VRow>
|
|
</VForm>
|
|
</template>
|