Table of Contents

Enum InputMode

Namespace
MudBlazor
Assembly
MudBlazor.dll

The inputmode global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. Not supported by safari. Use Pattern to achieve special mobile keyboards in safari. https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode

public enum InputMode
Extension Methods

Fields

decimal = 2

Fractional numeric input keyboard containing the digits and decimal separator for the user's locale (typically . or ,). Devices may or may not show a minus key (-). Reference

email = 6

A virtual keyboard optimized for entering email addresses. Typically includes the @ character as well as other optimizations. Inputs that require email addresses should typically use <input type="email"> instead. Reference

none = 0

No virtual keyboard. For when the page implements its own keyboard input control. Reference

numeric = 3

Numeric input keyboard, but only requires the digits 0–9. Devices may or may not show a minus key. Reference

A virtual keyboard optimized for search input. For instance, the return/submit key may be labeled “Search”, along with possible other optimizations. Inputs that require a search query should typically use <input type="search"> instead. Reference

tel = 4

A telephone keypad input, including the digits 0–9, the asterisk (*), and the pound (#) key. Inputs that require a telephone number should typically use <input type="tel">instead. Reference

text = 1

Default. Standard input keyboard for the user's current locale. Reference

url = 7

A keypad optimized for entering URLs. This may have the / key more prominent, for example. Enhanced features could include history access and so on. Inputs that require a URL should typically use <input type="url"> instead. Reference