Meteor PickAdate不使用自动表单实现
我在尝试将PickAdate与gildaspk一起使用时遇到以下错误:autoform materialize版本:0.0.7 这是我的模式字段:Meteor PickAdate不使用自动表单实现,meteor,meteor-autoform,materialize,Meteor,Meteor Autoform,Materialize,我在尝试将PickAdate与gildaspk一起使用时遇到以下错误:autoform materialize版本:0.0.7 这是我的模式字段: when: { type: Date, autoform: { type: 'pickadate' } 这是我的申报表: {{#autoForm id="addEvents" collection="Events" type="insert"}} {{> afFieldInput name='when
when: {
type: Date,
autoform: {
type: 'pickadate'
}
这是我的申报表:
{{#autoForm id="addEvents" collection="Events" type="insert"}}
{{> afFieldInput name='when' type="pickadate"}}
<div>
<button type="submit">Submit</button>
</div>
{{/autoForm}}
{{{#autoForm id=“addEvents”collection=“Events”type=“insert”}
{{>afFieldInput name='when'type=“pickadate”}
提交
{{/autoForm}
请运行meteor list
并将gildaspk:autoform materialize
的版本号添加到您的问题中好吗?完成!现在我通过在模板渲染上手动实例化pickadate来解决这个问题。您应该将gildaspk:autoform-materialize
包更新到最新版本或至少更新到新版本。