Meteor 单击加载项按钮时,datepicker值变得清晰
下面是simpleschema定义中使用的代码。我曾尝试在我的项目中使用类似的代码,但正如您所看到的,它不起作用Meteor 单击加载项按钮时,datepicker值变得清晰,meteor,meteor-autoform,eonasdan-datetimepicker,Meteor,Meteor Autoform,Eonasdan Datetimepicker,下面是simpleschema定义中使用的代码。我曾尝试在我的项目中使用类似的代码,但正如您所看到的,它不起作用 { items:{ type: Array, optional: true, minCount: 0, maxCount: 5 }, "items.$": { type: Object, optional: true }, "items.$.name": { type: Date, opt
{
items:{
type: Array,
optional: true,
minCount: 0,
maxCount: 5
},
"items.$": {
type: Object,
optional: true
},
"items.$.name": {
type: Date,
optional: true,
autoform: {
afFieldInput: {
type: "bootstrap-datetimepicker"
}
}
}
}
我之所以面临这个问题,是因为
autoformdatetimepicker
Api中存在一些错误
我在autoform bs datepicker.js
`
我之所以面临这个问题,是因为
autoformdatetimepicker
Api中存在一些错误
我在autoform bs datepicker.js
`
this.autorun(function () {
var data = Template.currentData();
**if(!data.value)
data.value=$('#'+data.atts.id).val();**`