+ client: 2154 Make renderCheckboxField a controlled input
This commit is contained in:
@@ -6,7 +6,7 @@ import { Trans, useTranslation } from 'react-i18next';
|
||||
import {
|
||||
renderInputField,
|
||||
renderRadioField,
|
||||
renderCheckboxField,
|
||||
CheckboxField,
|
||||
toNumber,
|
||||
} from '../../../../helpers/form';
|
||||
import {
|
||||
@@ -97,7 +97,7 @@ const Form = ({
|
||||
<Field
|
||||
name={name}
|
||||
type="checkbox"
|
||||
component={renderCheckboxField}
|
||||
component={CheckboxField}
|
||||
placeholder={t(placeholder)}
|
||||
disabled={processing}
|
||||
subtitle={t(subtitle)}
|
||||
|
||||
Reference in New Issue
Block a user