TextBoxModel
Interface representing the TextBox class.
Properties
autocomplete String
Specifies whether to allow the browser to automatically prefill form data. By default, autocomplete is on for a textbox.
Default: ""
cssClass String
Specifies CSS classes to customize the appearance of the control.
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.
- 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
multiline Boolean
Specifies whether the textbox will allow multiple lines or not.
Default: false
placeholder String
Specifies a short description of what is expected to be entered into the control.
Default: null
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
type String
Specifies the behavior type of the textbox, such as text, password, email, etc.
Default: null
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<FocusInOutEventArgs>
Event callback that is raised when focus leaves the control.
change EmitType<CronChangeEventArgs>
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<FocusInOutEventArgs>
Event callback that is raised when the control is focused.
input EmitType<InputEventArgs>
Event callback that is raised on every input into the textbox.