File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/vanilla/src/controls Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,9 @@ export const RadioGroup = ({
58
58
const radioInput = useMemo ( ( ) => findStyleAsClassName ( contextStyles ) ( 'control.radio.input' ) , [ contextStyles ] ) ;
59
59
const radioLabel = useMemo ( ( ) => findStyleAsClassName ( contextStyles ) ( 'control.radio.label' ) , [ contextStyles ] ) ;
60
60
const isValid = errors . length === 0 ;
61
- const divClassNames = `validation ${ isValid ? classNames . description : 'validation_error' } ` ;
61
+ const divClassNames = [ classNames . validation ]
62
+ . concat ( isValid ? classNames . description : classNames . validationError )
63
+ . join ( ' ' ) ;
62
64
const appliedUiSchemaOptions = merge ( { } , config , uischema . options ) ;
63
65
const showDescription = ! isDescriptionHidden (
64
66
visible ,
You can’t perform that action at this time.
0 commit comments