Skip to content

Commit 6ba39b4

Browse files
committed
add missing comment
1 parent d0b6244 commit 6ba39b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/components/picker/picker.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,12 @@ export class Picker implements ComponentInterface {
449449
case 1:
450450
this.searchColumn(firstColumn, value);
451451
break;
452+
/**
453+
* If the first character is `0` or `1` or allowed '2' it is
454+
* possible that users are trying to type `09`
455+
* or `11` into the hour field, so we should look
456+
* at that first.
457+
*/
452458
case 2:
453459
const firstCharacter = inputEl.value.substring(0, 1);
454460
value =

0 commit comments

Comments
 (0)