This help me for date picker,
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With