Is there a way to change the label color in my view when the input is disabled using Typescript or CSS?
This is the interface I am working with:
Here is the code snippet:
<tr>
<td className="name">Critère d'agrégation</td>
<td className="value column-2">
{aggregationDomain.map(codedValue =>
<label >
<input type="radio" name="AggregationSelection"
value={codedValue.code} checked={props.reportConfig.aggregation ===
codedValue.code} onChange={updateAggregation} disabled=
{!config?.aggregationEnabled.includes(codedValue.code)}
/>
{codedValue.name}
</label>
)}
</td>
</tr>
I am currently working with React (typescript) and would appreciate any help on this matter. Thank you!