fix(input): update inputmode attribute values to match the specs (#19131)

This commit is contained in:
Simon
2019-08-26 22:07:54 +02:00
committed by Brandy Carney
parent d4db3af881
commit 3e63b3c2c4
6 changed files with 42 additions and 40 deletions

View File

@ -90,9 +90,10 @@ export class Input implements ComponentInterface {
/**
* A hint to the browser for which keyboard to display.
* This attribute applies when the value of the type attribute is `"text"`, `"password"`, `"email"`, or `"url"`. Possible values are: `"verbatim"`, `"latin"`, `"latin-name"`, `"latin-prose"`, `"full-width-latin"`, `"kana"`, `"katakana"`, `"numeric"`, `"tel"`, `"email"`, `"url"`.
* Possible values: `"none"`, `"text"`, `"tel"`, `"url"`,
* `"email"`, `"numeric"`, `"decimal"`, and `"search"`.
*/
@Prop() inputmode?: string;
@Prop() inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
/**
* The maximum value, which must not be less than its minimum (min attribute) value.