Type alias ScopedFormConfig<TOptions>

ScopedFormConfig<TOptions>: TOptions | FormScope | readonly [TOptions, FormScope?] | readonly [TOptions, ...string[]]

Scoped form setup configuration.

Contains setup options along with the scope they applicable to.

May be one of:

  • false - to not apply configuration,
  • true - to apply default configuration to every control,
  • role name or array of role names - to apply default configuration only to controls with that roles,
  • null, undefined, or empty array - to apply default configuration only to controls with default role,
  • an array containing options as the first element, and role names as the rest of them - to apply these options only to controls with that roles,
  • a tuple consisting of options and scope specifier - to apply these options to specified scope.

Type Parameters

  • TOptions

    A type of setup options.

Generated using TypeDoc