File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,16 @@ export const RFFCFormSwitch = ({
102
102
disabled = false ,
103
103
initialValue,
104
104
onClick,
105
+ defaultValue,
105
106
} ) => {
106
107
return (
107
- < Field initialValue = { initialValue } name = { name } type = "checkbox" validate = { validate } >
108
+ < Field
109
+ defaultValue = { defaultValue }
110
+ initialValue = { initialValue }
111
+ name = { name }
112
+ type = "checkbox"
113
+ validate = { validate }
114
+ >
108
115
{ ( { meta, input } ) => (
109
116
< ConditionWrapper
110
117
condition = { helpText }
Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ const ApplyNewStandard = () => {
498
498
< RFFCFormSwitch
499
499
name = { component . name }
500
500
label = { component . label }
501
- initialValue = { component . default }
501
+ defaultValue = { component . default }
502
502
/>
503
503
) }
504
504
{ component . type === 'AdminRolesMultiSelect' && (
You can’t perform that action at this time.
0 commit comments