SSL support

This commit is contained in:
Jan Prochazka
2021-02-14 09:11:40 +01:00
parent 417ec9fcd2
commit d08fc85459
3 changed files with 58 additions and 29 deletions

View File

@@ -119,7 +119,7 @@ export function FormCheckboxField({ label, templateProps = undefined, ...other }
<FieldTemplate
label={label}
type="checkbox"
onLabelClick={() => setFieldValue(other.name, !values[other.name])}
onLabelClick={other.disabled ? undefined : () => setFieldValue(other.name, !values[other.name])}
{...templateProps}
>
<FormCheckboxFieldRaw {...other} />