To use the date picker, add the clrDate
directive to an
input
field. Then, place the input inside the
clr-date-container
container element.
type
to date
as it increases readability
of your code, helps with SEO, and keeps your HTML markup semantic. When the date picker
is enabled, this type
is overridden to
text
to disable the built-in date pickers
that some desktop browsers provide.