Answers for "react js form radio input using hooks"

0

react js form radio input using hooks

<Form.Group inline>
    <label>Gender</label>
    <Form.Radio label="Male" checked={gender === 'Male'} value="Male" onClick={() => setGender('Male')} />
    <Form.Radio label="Female" checked={gender === 'Female'} value="Female" onClick={() => setGender('Female')} />
</Form.Group>
Posted by: Guest on April-16-2021
0

react js form radio input using hooks

<Form.Field control={Radio} label="Male" checked={gender === 'Male'} value="Male" onClick={() => setGender('Male')} />
<Form.Field control={Radio} label="Female" checked={gender === 'Female'} value="Female" onClick={() => setGender('Female')} />
Posted by: Guest on April-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language