fix(renderfixes): some strange rendering fixes that should have been caught long time ago

This commit is contained in:
2025-06-23 16:46:14 -05:00
parent 2eea2911bc
commit 3b56a5e3e2
8 changed files with 298 additions and 98 deletions

View File

@@ -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,