diff --git a/src/fields/MultiRadio.tsx b/src/fields/MultiRadio.tsx index 897f241d5..daabddadb 100644 --- a/src/fields/MultiRadio.tsx +++ b/src/fields/MultiRadio.tsx @@ -65,7 +65,7 @@ export function MultiRadio({ [onChange] ) - useFieldUndefineEffect(isUndefinedWhenDisabled && disabled, onChange) + useFieldUndefineEffect(isUndefinedWhenDisabled && disabled && !isReadOnly, onChange) return (
= { title: 'Fields/MultiRadio', component: MultiRadio, @@ -43,6 +44,7 @@ export default { }) ] } +export default meta export function _MultiRadio(props: MultiRadioProps) { const [outputValue, setOutputValue] = useState('∅')