We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c278243 commit cba6b3bCopy full SHA for cba6b3b
src/components/form/CheckboxField.tsx
@@ -46,7 +46,7 @@ const CheckboxField: React.FC<CheckboxFieldProps> = ({
46
...otherCheckboxProps
47
}) => {
48
if (required && validate instanceof BooleanSchema) {
49
- validate = validate.required();
+ validate = validate.oneOf([true]);
50
}
51
52
const fieldConfig: FieldConfig = {
0 commit comments