Now in this date-picker i want today's date as selected by default.
can anyone help me how do set default date?
Thank you.
Now in this date-picker i want today's date as selected by default.
can anyone help me how do set default date?
Thank you.
In andgular material i have used this for datepicker and my issue of set current date is solved as follow,
Using AngularJs Controller,
<input type="date" list="days" ng-model="transaction.date">
$scope.transaction.date = new Date();
(1) google components
(2) datepicker demo
(3) material demo