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