0
我使用aldeed中的集合填充選擇輸入字段:autoform。如何添加一個html datalist字段到流星aldeed:autoform?
字段聲明
{{> afFormGroup name="patientID" type="select" options=patientIDs}}
助手
patientIDs:function() {
return Meteor.users.find({}).map(function (user) {
return {label: user.profile.firstName, value: user._id};
});
}
但它竟然下拉太大,選擇一個選項。因此我需要在autoform中實現類似於HTML datalist的功能。如何在流星中實現這一點:autoform?