fix(renderfixes): some strange rendering fixes that should have been caught long time ago
This commit is contained in:
@@ -2,12 +2,13 @@ import { createFormHook, createFormHookContexts } from "@tanstack/react-form";
|
||||
import { InputField } from "./options/InputField";
|
||||
import { SubmitButton } from "./options/submitButton";
|
||||
import { SelectField } from "./options/selectorField";
|
||||
import { CheckboxField } from "./options/checkbox";
|
||||
|
||||
export const { fieldContext, useFieldContext, formContext, useFormContext } =
|
||||
createFormHookContexts();
|
||||
|
||||
export const { useAppForm } = createFormHook({
|
||||
fieldComponents: { InputField, SelectField },
|
||||
fieldComponents: { InputField, SelectField, CheckboxField },
|
||||
formComponents: { SubmitButton },
|
||||
fieldContext,
|
||||
formContext,
|
||||
|
||||
Reference in New Issue
Block a user