3.5 KiB
| id | title |
|---|---|
| SolidFormApi | SolidFormApi |
Interface: SolidFormApi<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TSubmitMeta>
Defined in: packages/solid-form/src/createForm.tsx:16
Type Parameters
TParentData
TParentData
TFormOnMount
TFormOnMount extends undefined | FormValidateOrFn<TParentData>
TFormOnChange
TFormOnChange extends undefined | FormValidateOrFn<TParentData>
TFormOnChangeAsync
TFormOnChangeAsync extends undefined | FormAsyncValidateOrFn<TParentData>
TFormOnBlur
TFormOnBlur extends undefined | FormValidateOrFn<TParentData>
TFormOnBlurAsync
TFormOnBlurAsync extends undefined | FormAsyncValidateOrFn<TParentData>
TFormOnSubmit
TFormOnSubmit extends undefined | FormValidateOrFn<TParentData>
TFormOnSubmitAsync
TFormOnSubmitAsync extends undefined | FormAsyncValidateOrFn<TParentData>
TFormOnDynamic
TFormOnDynamic extends undefined | FormValidateOrFn<TParentData>
TFormOnDynamicAsync
TFormOnDynamicAsync extends undefined | FormAsyncValidateOrFn<TParentData>
TFormOnServer
TFormOnServer extends undefined | FormAsyncValidateOrFn<TParentData>
TSubmitMeta
TSubmitMeta
Properties
Field
Field: FieldComponent<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TSubmitMeta>;
Defined in: packages/solid-form/src/createForm.tsx:30
FormGroup
FormGroup: FormGroupComponent<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer, TSubmitMeta>;
Defined in: packages/solid-form/src/createForm.tsx:44
Subscribe()
Subscribe: <TSelected>(props) => Element;
Defined in: packages/solid-form/src/createForm.tsx:93
Type Parameters
TSelected
TSelected = NoInfer<FormState<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer>>
Parameters
props
children
Element | (state) => Element
selector?
(state) => TSelected
Returns
Element
useStore()
useStore: <TSelected>(selector?) => () => TSelected;
Defined in: packages/solid-form/src/createForm.tsx:58
Type Parameters
TSelected
TSelected = NoInfer<FormState<TParentData, TFormOnMount, TFormOnChange, TFormOnChangeAsync, TFormOnBlur, TFormOnBlurAsync, TFormOnSubmit, TFormOnSubmitAsync, TFormOnDynamic, TFormOnDynamicAsync, TFormOnServer>>
Parameters
selector?
(state) => TSelected
Returns
(): TSelected;
Returns
TSelected