MaskedTextBoxModel

Interface representing the MaskedTextBox class.

Properties

cssClass String

Specifies CSS classes to customize the appearance of the control.

Default: ""

customCharacters Object

Specifies custom characters that can be accepted into non-masked elements.

Default: {:}

enabled Boolean

Specifies whether the textbox is enabled or not.

Default: true

enableRtl Boolean

Specifies whether to render the control in right to left direction.

Default: false

enableState Boolean

Specifies whether to persist the state of the control between page loads.

The following properties will be saved to state.
  • value

Default: false

htmlAttributes {:}

Specifies additional HTML attributes, such as title, styles, class, id, and name, in a key-value pair format that will be appended to the HTML element. If both the property and equivalent HTML attributes are configured, then the control overrides the property value with the HTML attributes.

Default: {}

labelType FloatingLabelType

Specifies the condition on when to show the floating label, for example: never, always.

Default: Never

locale String

Specifies the culture and localization value for this control, overriding the globally defined value.

Default: en-US

mask String

Specifies the mask of the textbox.

Default: null

placeholder String

Specifies a short description of what is expected to be entered into the control.

Default: null

promptChar String

Specifies the prompting character which is used to represent the masked value.

Default: _

readonly Boolean

Specifies whether the control is readonly disabling all user interaction with the control.

Default: false

showClearButton Boolean

Specifies whether to show the clear button or not, allowing the user to clear the current value.

Default: false

value String

Specifies the current cron value select in the cron builder.

Default: * * * * *

width String Number

Defines the width of the control in either pixels, number, or percentage.

Default: null

Events

blur EmitType<MaskedBlurEventArgs>

Event callback that is raised when focus leaves the control.

change EmitType<MaskedChangeEventArgs>

Event callback that is raised when the control value is changed.

created EmitType<CreatedEventArgs>

Event callback that is raised when the control has been created.

destroyed EmitType<Object>

Event callback that is raised when the control has been destroyed.

focus EmitType<MaskedFocusEventArgs>

Event callback that is raised when the control is focused.