Value in Select needs to be a string(boolean)
This commit is contained in:
parent
9a63f0d2aa
commit
d42a513619
1 changed files with 4 additions and 4 deletions
|
@ -63,11 +63,11 @@ export const GroupLinkManagement: React.ComponentType<PropsType> = ({
|
||||||
options={[
|
options={[
|
||||||
{
|
{
|
||||||
text: i18n('on'),
|
text: i18n('on'),
|
||||||
value: i18n('on'),
|
value: 'true',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: i18n('off'),
|
text: i18n('off'),
|
||||||
value: i18n('off'),
|
value: 'false',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
value={String(Boolean(hasGroupLink))}
|
value={String(Boolean(hasGroupLink))}
|
||||||
|
@ -121,11 +121,11 @@ export const GroupLinkManagement: React.ComponentType<PropsType> = ({
|
||||||
options={[
|
options={[
|
||||||
{
|
{
|
||||||
text: i18n('on'),
|
text: i18n('on'),
|
||||||
value: i18n('on'),
|
value: 'true',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: i18n('off'),
|
text: i18n('off'),
|
||||||
value: i18n('off'),
|
value: 'false',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
value={String(membersNeedAdminApproval)}
|
value={String(membersNeedAdminApproval)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue