Modal Dialog
Show the calendar in a modal dialog with @pglejzer/datepicker-ui.
Modal
#ui.displayMode: "modal" opens a dialog with a headline, the calendar and the Cancel and OK buttons. Nothing is written to the input until the user confirms. The modal always shows one month.
Docked look in a dialog
#ui.layout: "docked" gives the dialog the docked header with the month and year menus instead of the modal headline and grids. The dialog and its backdrop stay.
Start on the text input view
#ui.initialView: "input" opens the modal on the text field instead of the grid. A button switches between the two views, and ui.viewSwitch controls it.
Docs: Display Modes · Typed Input