<template>
<Formikax @onSubmit="onSubmit" v-slot="{ handleSubmit }">
<Field name="firstname" />
<Field name="lastname" />
<Field name="animal" as="select" label="What is your prefered animal ?">
<option value>---Choose one---</option>
<option value="dog">Dog</option>
<option value="cat">Cat</option>
</Field>
<Field name="prefered" type="radio" value="vue" label="Vue" />
<Field name="prefered" type="radio" value="react" label="React" />
<button @click="handleSubmit">Validate</button>
</Formikax>
</template>