Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SettingsValidationCustomAttribute

  • Globals
  • SettingsValidationCustomAttribute

Custom attribute that can be added to an Input field and can be used to validate its value based on a provided sensenet FieldSetting. Usage example:

<input type="text" value.bind="value" settings-validation.bind="settings">

The following attributes will be added when a settings object is bound:

required, minlength, maxlength, pattern

Hierarchy

  • SettingsValidationCustomAttribute

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private element

element: Element

settings

settings: FieldSetting

Methods

settingsChanged

  • settingsChanged(newSetting: FieldSetting): void

Generated using TypeDoc