【问题标题】:Meteor autoform with nested schema具有嵌套模式的 Meteor autoform
【发布时间】:2015-11-24 05:23:53
【问题描述】:

谁能告诉我如何让 Autoform 使用这个嵌套模式?

date: {
        type: Number,
        max: new Date().getFullYear(),
        optional: true
    },
"date.estimated": {
        type: Boolean
    },

我试过了

            {{> afQuickField 'date.estimated'}}

没有喜悦。

【问题讨论】:

    标签: meteor meteor-autoform


    【解决方案1】:

    我是愚蠢的。

    "date.year": {
            type: Number,
            max: new Date().getFullYear(),
            optional: true
        },
    "date.estimated": {
            type: Boolean
        },
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-01-01
      • 2016-02-13
      • 1970-01-01
      • 2015-05-15
      • 2015-05-11
      • 2015-10-25
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多