Skip to content

Commit

Permalink
allow inputmode to be any string while keeping autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeaciaz committed May 6, 2024
1 parent f4957ff commit 05bf560
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/html/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@ declare namespace JSX {
interface HtmlTag extends ElementChildrenAttribute, IntrinsicAttributes {
accesskey?: undefined | string;
contenteditable?: undefined | string;
inputmode?: undefined | 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
inputmode?:
| undefined
| 'none'
| 'text'
| 'decimal'
| 'numeric'
| 'tel'
| 'search'
| 'email'
| 'url'
| (string & {});
dir?: undefined | string;
hidden?: undefined | string | boolean;
id?: undefined | number | string;
Expand Down

0 comments on commit 05bf560

Please sign in to comment.