Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DorfFieldDefinition<T>

Basic class for all the field definitions.

Stores things to be defined by a developer before creating the form field. E.g. what label should be presented in the form, what is the validation rule.

Having definition and Domain Object, DorfMapper is able to create metadata, which is used directly in DORF's reactive form.

stable

Type parameters

  • T

Hierarchy

Implements

Index

Constructors

constructor

Properties

Optional order

order: undefined | number

Accessors

asyncValidator

  • get asyncValidator(): undefined | AsyncValidatorFn | AsyncValidatorFn[]

css

debounce

  • get debounce(): undefined | number
  • Property known from ng-model-options, from Angular 1.3. Defines time (in milliseconds) which should pass before updating a field value in a source model. This should be specified together with updateModelOnChange set to true.

    inheritdoc

    Returns undefined | number

errorMessage

  • get errorMessage(): undefined | string

extras

  • get extras(): undefined | object

label

  • get label(): undefined | string

onSummary

  • get onSummary(): undefined | true | false

tag

  • get tag(): string

updateModelOnChange

  • get updateModelOnChange(): undefined | true | false

validator

  • get validator(): ValidatorFn | ValidatorFn[]

Generated using TypeDoc