For advanced business application users,
browser-based date-picker might be too slow to use, because they are used to typing fast.
In this demo is an script file demo-date.ts
to
show a second input field for shortcuts.
Just type e.g. 0212 for December, 2nd in the current year.
The next input field will filled automatically and the date-picker can be used.
This is activated by
<tc:dataAttribute name="quick-pattern" value="ddmm"/>
This script is just an showcase.
A real application may use specially adjusted shortcuts. E.g. using also a 2-digit year or
creating the special quick input field by a keyboard shortcut, or button.
If the users typing the <TAB> key to jump to the next field, it might be
helpful to set
tabIndex="-1"
to skip the normal date field.