DevExtreme Angular - Task-Specific Modes

Depending on the value the TextBox should hold, specify the widget mode option. When set to "email", "tel" or "url", this option affects the set of keyboard buttons shown on a mobile device when the widget gets focused. When set to "search" or "password", the mode option impacts the visual representation of the widget. For example, the following code hides input characters behind asterisks.

JavaScript
$(function() {
    $("#textBoxContainer").dxTextBox({
        mode: "password"
    });
});
See Also