Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Control.radio default check in localform #1228

Open
AnkitBagaria24 opened this issue Aug 10, 2020 · 0 comments
Open

Control.radio default check in localform #1228

AnkitBagaria24 opened this issue Aug 10, 2020 · 0 comments

Comments

@AnkitBagaria24
Copy link

AnkitBagaria24 commented Aug 10, 2020

How do I check by default a Control.radio in LocalForm ?

<Control.radio model={"."+e.employeeid} name={e.employeeid} value="present" onChange={handleInputChange}/>
<Control.radio model={"."+e.employeeid} name={e.employeeid} value="absent" onChange={handleInputChange} />

In state initial value of all the employeeid is absent I want the radio button corresponding to value absent to be checked initially.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant