Skip to content

API reference > @kontsedal/olas-core > FieldOptions

FieldOptions type ​

Options for createField(ctx, initial, options?).

Signature:

typescript
type FieldOptions<T> = {
  validators?: ReadonlyArray<Validator<T>>;
  validateOn?: ValidateOn;
};

References: Validator, ValidateOn

Released under the MIT License.