File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class Form extends Component<IFormProps & { forwardedRef: any }> {
4747
4848 static RadioGroup = (
4949 props : Omit < IFormsyRadioGroupProps , keyof InjectedProps < any > >
50- ) => < FormsyRadioGroup formRadioGroup { ...( props as any ) } /> ;
50+ ) => < FormsyRadioGroup { ...( props as any ) } /> ;
5151
5252 static Dropdown = (
5353 props : Omit < IFormsyDropdownProps , keyof InjectedProps < any > >
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export interface IFormsyRadioGroupProps
2222 id ?: string ;
2323 inputClassName ?: string ;
2424 passRequiredToField ?: boolean ;
25- formRadioGroup ?: boolean ;
2625 defaultSelected ?: string ;
2726 label ?: string | React . ReactNode ;
2827 errorLabel ?: React . ReactElement ;
@@ -56,7 +55,6 @@ class FormsyRadioGroup extends Component<IFormsyRadioGroupProps> {
5655 as,
5756 label,
5857 required,
59- formRadioGroup,
6058 children,
6159 name,
6260 value,
@@ -107,9 +105,6 @@ class FormsyRadioGroup extends Component<IFormsyRadioGroupProps> {
107105 disabled,
108106 } ;
109107
110- if ( formRadioGroup ) {
111- props . error = error ;
112- }
113108 return (
114109 < Form . Field { ...fieldProps } >
115110 { cloneElement ( radio , { ...props } ) }
You can’t perform that action at this time.
0 commit comments