InputGroupTextBox

in namespace DotVVM.Framework.Controls.Bootstrap4

Extends the bootstrap TextBox control for usage in InputGroup

Usage & Scenarios

A special version of the TextBox control that can be used in InputGroup.

See TextBox for more info on how to use this control.

https://getbootstrap.com/docs/4.3/components/input-group/

Properties

Name Type Description Notes Default Value
property icon Enabled Boolean Gets or sets a value indicating whether the control is enabled and can be modified.
attribute
inner element
static value
bindable
default
True
property icon FormatString String Gets or sets a format of presentation of value to client.
attribute
inner element
static value
bindable
default
null
property icon SelectAllOnFocus Boolean Gets or sets whether all text inside the TextBox becomes selected when the element gets focused.
attribute
inner element
static value
bindable
default
False
property icon Size Size Gets or sets the size of the TextBox.
attribute
inner element
static value
bindable
default
Default
property icon Text Object Gets or sets the text in the control.
attribute
inner element
static value
bindable
default
property icon Type TextBoxType Gets or sets the mode of the text field.
attribute
inner element
static value
bindable
default
Normal
property icon UpdateTextOnInput Boolean Gets or sets whether the viewmodel property will be updated immediately after change. By default, the viewmodel is updated after the control loses its focus.
attribute
inner element
static value
bindable
default
False

Events

Name Type Description
event icon Changed Command Gets or sets the command that will be triggered when the onchange event is fired.
event icon TextInput Command Gets or sets the command that will be triggered when the user is typing in the field. Be careful when using this event - triggering frequent postbacks can make bad user experience. Consider using static commands or a throttling postback handler.

HTML produced by the control