Skip to content

API reference > @kontsedal/olas-svelte > FieldState

FieldState type ​

A field's state as one store value.

Signature:

typescript
export type FieldState<T> = {
  value: T;
  errors: string[];
  isValid: boolean;
  isDirty: boolean;
  touched: boolean;
  isValidating: boolean;
};

Released under the MIT License.