Open msreekm opened 5 years ago
thanks for shpwing how to create dynamic form using formik. can you add an example of radio button like sex : M/F
@msreekm You can implement radio buttons by using almost the same code as the dropdown field. Instead of outputing a <select> you'd output an array of <input type={'radio'} name={field.name} />.
<select>
<input type={'radio'} name={field.name} />
thanks for shpwing how to create dynamic form using formik. can you add an example of radio button like sex : M/F