Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

TanStackAppField.md

189 lines4.7 KB

Defined in: app-field.ts:12

Extends

  • TanStackField<TSource, TFieldName, TFieldValue, TFieldValidators>

Type Parameters

TSource

TSource extends AngularFieldSource

TFieldName

TFieldName extends DeepKeys<AngularFieldData<TSource>>

TFieldValue

TFieldValue extends DeepValue<AngularFieldData<TSource>, TFieldName>

TFieldValidators

TFieldValidators extends FieldValidators<AngularFieldData<TSource>, TFieldName, TFieldValue>

Constructors

Constructor

new TanStackAppField<TSource, TFieldName, TFieldValue, TFieldValidators>(): TanStackAppField<TSource, TFieldName, TFieldValue, TFieldValidators>;

Defined in: app-field.ts:26

Returns

TanStackAppField<TSource, TFieldName, TFieldValue, TFieldValidators>

Overrides

TanStackField.constructor

Properties

errorBoundary

errorBoundary: InputSignal<boolean | undefined>;

Defined in: tanstack-field.ts:152

Inherited from

TanStackField.errorBoundary


errorVisibility

errorVisibility: InputSignal<
  | ErrorVisibility<AngularParentFormData<TSource>, AngularSourceFormErrorTypes<TSource>>
| undefined>;

Defined in: tanstack-field.ts:145

Inherited from

TanStackField.errorVisibility


isArrayField

protected readonly isArrayField: false = false;

Defined in: tanstack-field.ts:271

Inherited from

TanStackField.isArrayField


listeners

listeners: InputSignal<
  | NoInfer<FieldListeners<AngularFieldData<TSource>, TFieldName, TFieldValue, FallbackToValidationIssue<
  | ExtractValidatorFieldError<TFieldValidators, FieldValidators<any, any, any>>
  | ExtractFormFieldError<AngularSourceFormErrorTypes<TSource>>
  | unknown extends AngularSourceGroupFieldError<TSource> ? never : AngularSourceGroupFieldError<TSource>>, AngularParentFormData<TSource>, AngularSourceFormErrorTypes<TSource>>>
| undefined>;

Defined in: tanstack-field.ts:128

Inherited from

TanStackField.listeners


name

name: InputSignal<TFieldName>;

Defined in: tanstack-field.ts:126

Inherited from

TanStackField.name


tanstackField

tanstackField: InputSignal<TSource>;

Defined in: tanstack-field.ts:270

Inherited from

TanStackField.tanstackField


validators

validators: InputSignal<NoInfer<TFieldValidators> | undefined>;

Defined in: tanstack-field.ts:127

Inherited from

TanStackField.validators

Accessors

api

Get Signature

get api(): AngularSourceFieldApi<TSource, TFieldName, TFieldValue, TFieldValidators>;

Defined in: tanstack-field.ts:190

Returns

AngularSourceFieldApi<TSource, TFieldName, TFieldValue, TFieldValidators>

Inherited from

TanStackField.api

Methods

getSource()

protected getSource(): TSource;

Defined in: tanstack-field.ts:272

Returns

TSource

Inherited from

TanStackField.getSource