【发布时间】:2015-10-22 09:30:52
【问题描述】:
我正在使用 Meteor autoform select2 包,并试图弄清楚如何设置选定的值。目前正在尝试以下但我看不到其他国家/地区列表
options: function () {
var user = Meteor.users.findOne();
if (user && !_.isEmpty(user.profile.country)) {
return {value: user.profile.country};
}
return countriesList;
}
【问题讨论】:
标签: meteor jquery-select2 meteor-autoform telescope