skip to Main Content

Html – disable select for certain input

I want to disable a select attribute when my type = radio input is checked. Here's the part of the code i'm talking about: <input id="societeInterne" name="radioSociete" type="radio" value="Interne"/><label>Interne / </label> <input id="societeExterne" name="radioSociete" type="radio" value="Externe"/><label>Externe - </label> <label for="PrestataireStit">…

VIEW QUESTION

Reactjs – how to add tick icon instead of bullet icon in MUI radio button

i need to add CheckCircleSharpIcon from '@mui/icons-material/CheckCircleSharp' instead of bullet icon {res?.map((radiooption, index) => ( <> <RadioGroup aria-labelledby="demo-radio-buttons-group-label" name="radio-buttons-group" className={classes.radioGroup} value={value} onChange={handleChange} key={radiooption.secondaryRadioName} > <FormControlLabel className={classes.radioButton} value= {radiooption?.secondaryRadioName} control={<Radio />} label={<span dangerouslySetInnerHTML={{ __html: radiooption?.secondaryRadioName }}/>} /> </RadioGroup> </> ))}

VIEW QUESTION
Back To Top
Search