diff --git a/src/components/FormBuilder/fields/CheckboxField.tsx b/src/components/FormBuilder/fields/CheckboxField.tsx index f7eb022..d1ad1d0 100644 --- a/src/components/FormBuilder/fields/CheckboxField.tsx +++ b/src/components/FormBuilder/fields/CheckboxField.tsx @@ -9,6 +9,7 @@ import { } from "#/components/ui/Form"; import { BaseField, withConditional } from "../fields"; +import isFieldDisabled from "../isFieldDisabled"; export interface CheckboxFieldProps extends BaseField { type: "checkbox"; @@ -31,6 +32,7 @@ export const CheckboxField = withConditional(
diff --git a/src/components/FormBuilder/fields/TextAreaField.tsx b/src/components/FormBuilder/fields/TextAreaField.tsx index 3ed0b6b..532ee02 100644 --- a/src/components/FormBuilder/fields/TextAreaField.tsx +++ b/src/components/FormBuilder/fields/TextAreaField.tsx @@ -11,6 +11,7 @@ import { import { Textarea } from "#/components/ui/Textarea"; import { BaseField, withConditional } from "../fields"; +import isFieldDisabled from "../isFieldDisabled"; export interface TextAreaFieldProps extends BaseField { length?: { @@ -47,6 +48,7 @@ export const TextAreaField = withConditional( {field.description}