API reference > @kontsedal/olas-svelte > FieldStore
FieldStore type
What fieldStore returns: a store of the field's state, plus its actions.
Signature:
typescript
export type FieldStore<T> = ReadSignal<FieldState<T>> & {
set: (value: T) => void;
setAsInitial: (value: T) => void;
reset: () => void;
markTouched: () => void;
revalidate: () => Promise<boolean>;
setErrors: (errors: ReadonlyArray<string>) => void;
};References: ReadSignal, FieldState