@@ -52,8 +52,8 @@ describe('gcds-date-input', () => {
5252 December
5353 </option>
5454 </gcds-select>
55- <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" value="" validate-on="other"></gcds-input>
56- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="" validate-on="other"></gcds-input>
55+ <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
56+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
5757 </fieldset>
5858 </gcds-date-input>
5959 ` ) ;
@@ -71,7 +71,7 @@ describe('gcds-date-input', () => {
7171 <legend id="date-input-legend">
7272 Date input
7373 </legend>
74- <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Jour" name="day" size="2" type="number" value="" validate-on="other"></gcds-input>
74+ <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Jour" name="day" size="2" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
7575 <gcds-select aria-invalid="false" class="gcds-date-input__month" defaultvalue="Sélectionnez un mois" label="Mois" name="month" selectid="month" value="">
7676 <option value="01">
7777 janvier
@@ -110,7 +110,7 @@ describe('gcds-date-input', () => {
110110 décembre
111111 </option>
112112 </gcds-select>
113- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Année" name="year" size="4" type="number" value="" validate-on="other"></gcds-input>
113+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Année" name="year" size="4" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
114114 </fieldset>
115115 </mock:shadow-root>
116116 </gcds-date-input>
@@ -167,7 +167,7 @@ describe('gcds-date-input', () => {
167167 December
168168 </option>
169169 </gcds-select>
170- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="" validate-on="other"></gcds-input>
170+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
171171 </fieldset>
172172 </gcds-date-input>
173173 ` ) ;
@@ -223,7 +223,7 @@ describe('gcds-date-input', () => {
223223 décembre
224224 </option>
225225 </gcds-select>
226- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Année" name="year" size="4" type="number" value="" validate-on="other"></gcds-input>
226+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Année" name="year" size="4" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
227227 </fieldset>
228228 </mock:shadow-root>
229229 </gcds-date-input>
@@ -283,8 +283,8 @@ describe('gcds-date-input', () => {
283283 December
284284 </option>
285285 </gcds-select>
286- <gcds-input aria-invalid="false" aria-required="true" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" value="" validate-on="other"></gcds-input>
287- <gcds-input aria-invalid="false" aria-required="true" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="" validate-on="other"></gcds-input>
286+ <gcds-input aria-invalid="false" aria-required="true" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
287+ <gcds-input aria-invalid="false" aria-required="true" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
288288 </fieldset>
289289 </gcds-date-input>
290290 ` ) ;
@@ -343,8 +343,8 @@ describe('gcds-date-input', () => {
343343 December
344344 </option>
345345 </gcds-select>
346- <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" value="" validate-on="other"></gcds-input>
347- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="" validate-on="other"></gcds-input>
346+ <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
347+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="" validate-on="other"></gcds-input>
348348 </fieldset>
349349 </gcds-date-input>
350350 ` ) ;
@@ -400,8 +400,8 @@ describe('gcds-date-input', () => {
400400 December
401401 </option>
402402 </gcds-select>
403- <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" value="15" validate-on="other"></gcds-input>
404- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="1991" validate-on="other"></gcds-input>
403+ <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" inputmode="numeric" value="15" validate-on="other"></gcds-input>
404+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="1991" validate-on="other"></gcds-input>
405405 </fieldset>
406406 </gcds-date-input>
407407 ` ) ;
@@ -457,7 +457,7 @@ describe('gcds-date-input', () => {
457457 December
458458 </option>
459459 </gcds-select>
460- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="1991" validate-on="other"></gcds-input>
460+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="1991" validate-on="other"></gcds-input>
461461 </fieldset>
462462 </gcds-date-input>
463463 ` ) ;
@@ -513,8 +513,8 @@ describe('gcds-date-input', () => {
513513 December
514514 </option>
515515 </gcds-select>
516- <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" value="015" validate-on="other"></gcds-input>
517- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="1991" validate-on="other"></gcds-input>
516+ <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" inputmode="numeric" value="015" validate-on="other"></gcds-input>
517+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="1991" validate-on="other"></gcds-input>
518518 </fieldset>
519519 </mock:shadow-root>
520520 </gcds-date-input>
@@ -571,7 +571,7 @@ describe('gcds-date-input', () => {
571571 December
572572 </option>
573573 </gcds-select>
574- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="1991" validate-on="other"></gcds-input>
574+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="1991" validate-on="other"></gcds-input>
575575 </fieldset>
576576 </mock:shadow-root>
577577 </gcds-date-input>
@@ -676,8 +676,8 @@ describe('gcds-date-input', () => {
676676 December
677677 </option>
678678 </gcds-select>
679- <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" value="red" validate-on="other"></gcds-input>
680- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="222f" validate-on="other"></gcds-input>
679+ <gcds-input aria-invalid="false" class="gcds-date-input__day" inputid="day" label="Day" name="day" size="2" type="number" inputmode="numeric" value="red" validate-on="other"></gcds-input>
680+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="222f" validate-on="other"></gcds-input>
681681 </fieldset>
682682 </gcds-date-input>
683683 ` ) ;
@@ -733,7 +733,7 @@ describe('gcds-date-input', () => {
733733 December
734734 </option>
735735 </gcds-select>
736- <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" value="222f" validate-on="other"></gcds-input>
736+ <gcds-input aria-invalid="false" class="gcds-date-input__year" inputid="year" label="Year" name="year" size="4" type="number" inputmode="numeric" value="222f" validate-on="other"></gcds-input>
737737 </fieldset>
738738 </gcds-date-input>
739739 ` ) ;
0 commit comments