We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d900e0 commit 62189a3Copy full SHA for 62189a3
src/lib/core/platform/features.ts
@@ -5,9 +5,13 @@ export function getSupportedInputTypes(): Set<string> {
5
if (!supportedInputTypes) {
6
let featureTestInput = document.createElement('input');
7
supportedInputTypes = new Set([
8
+ // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after
9
+ // first changing it to something else:
10
+ // The specified value "" does not conform to the required format.
11
+ // The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
12
+ 'color',
13
'button',
14
'checkbox',
- 'color',
15
'date',
16
'datetime-local',
17
'email',
0 commit comments