diff --git a/packages/core/client/src/schema-component/antd/radio/Radio.tsx b/packages/core/client/src/schema-component/antd/radio/Radio.tsx index 7ff5cf6e8..d34cae02a 100644 --- a/packages/core/client/src/schema-component/antd/radio/Radio.tsx +++ b/packages/core/client/src/schema-component/antd/radio/Radio.tsx @@ -40,10 +40,11 @@ Radio.Group = connect( const field = useField(); const collectionField = useCollectionField(); const dataSource = field.dataSource || collectionField?.uiSchema.enum || []; + const val = value ? props.value.toString() : value; return (
{dataSource - .filter((option) => option.value === value) + .filter((option) => option.value === val) .map((option, key) => ( {option.label}