Skip to content

Commit

Permalink
Merge pull request #383 from ConductionNL/feature/update-schemaFromTe…
Browse files Browse the repository at this point in the history
…mplate

added partial name bool to boolean field
  • Loading branch information
remko48 authored Jun 7, 2024
2 parents 0c88df1 + 72e2b74 commit c23e85a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { getIdFromObjectId } from "../../../services/getIdFromObjectId";
export type SchemaInputType =
| "string"
| "boolean"
| "bool"
| "array"
| "integer"
| "int"
Expand Down Expand Up @@ -289,7 +290,7 @@ const FormFieldGroup: React.FC<FormFieldGroupProps & ReactHookFormProps> = ({
/>
)}

{type === "boolean" && (
{(type === "boolean" || type === "bool") && (
<InputCheckbox
label="True"
validation={enrichValidation({ required })}
Expand Down

0 comments on commit c23e85a

Please sign in to comment.