Fix logical error with radibuttons
This commit is contained in:
@ -580,7 +580,7 @@ function InputTagSelects(props: InputFiledByTypeProps) {
|
|||||||
className={classInput}
|
className={classInput}
|
||||||
aria-invalid={props.displayableErrors.length !== 0}
|
aria-invalid={props.displayableErrors.length !== 0}
|
||||||
disabled={attribute.readOnly}
|
disabled={attribute.readOnly}
|
||||||
checked={valueOrValues.includes(option)}
|
checked={valueOrValues instanceof Array ? valueOrValues.includes(option) : valueOrValues === option}
|
||||||
onChange={event =>
|
onChange={event =>
|
||||||
formValidationDispatch({
|
formValidationDispatch({
|
||||||
action: "update",
|
action: "update",
|
||||||
|
Reference in New Issue
Block a user