md2
md2 copied to clipboard
Question: how to set the default 'format' and 'mode' for all <m2-datepicker>?
hello, how to set the default 'format' and 'mode' for all <m2-datepicker>?
@damsorian do not apply "format" and "mode" to the datepicker for the default value. Ex.<md2-datepicker [(ngModel)]="date"> For more information check Doc
@krupa310 I mean if there is some way to configure the format and mode for all <md2-datepicker> maybe like this
The idea is not always use: <md2-datepicker mode="portrait" format="MM/dd/y">