【发布时间】:2016-09-01 16:14:49
【问题描述】:
使用 Meteor 中的 Materialize 包 (materialize:materialize) 我正在使用日期选择器,它会在左侧显示一些日期。
在页面渲染上我有:
Template.clientEntry.onRendered(function() {
$('select').material_select();
$('.datepicker').pickadate({
selectMonths: true, // Creates a dropdown to control month
selectYears: 40 // Creates a dropdown of 15 years to control year
});
});
HTML:
<div class="input-field col s2">
<label class="active">Birth Date</label>
<input type="date" class="datepicker" id="birthdate-demo">
</div>
单击该字段时,它呈现如下。它运行良好,但看起来并不好。我做错了什么?
【问题讨论】:
标签: meteor materialize