最佳答案
我用过的普通 Material this对于日期选择器和我设置当前日期的问题解决如下,
使用 AngularJs Controller ,
HTML:
<input type="date" list="days" ng-model="transaction.date">
Javascript:
$scope.transaction.date = new Date();
(1) google components
(2) datepicker demo
(3) material demo
关于angularjs - Angular Material Date Picker 默认选择日期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32263612/