TextBoxType

enum in namespace DotVVM.Framework.Controls

Values

Name Value Description
Normal 0 The standard <input type=text text box.
Password 1 The <input type=password text box which hides the written text.
MultiLine 2 The <textarea> element which allows writing multiple lines.
Telephone 3 The <input type=tel text box.
Url 4 The <input type=url text box which automatically validates whether the user to entered a valid URL.
Email 5 The <input type=email text box which automatically validates whether the user to entered a valid email address.
Date 6 The <input type=datetime element which typicaly shows a date picker (without time).
Time 7 The <input type=datetime-local element which typicaly shows a time-of-day picker (without date).
Color 8 The <input type=number element which typically shows an interactive color picker and stored its 7-character RGB color code in hexadecimal format into the bound view model property.
Search 9 The <input type=range text box.
Number 10 The <input type=range text box which only allows typing digits and typically has up/down arrows.
Month 11 The <input type=range text box which allows the user to specify a year and month combination in the YYYY-MM format.
DateTimeLocal 12 The <input type=range text box which allows the user to specify a date time in their local timezone. DotVVM can automatically convert it into a UTC timestamp using the DateTime) two-way function.