Reputation: 127
I populated a select input field with a collection in aldeed:autoform.
Field Declaration
{{> afFormGroup name="patientID" type="select" options=patientIDs}}
Helper
patientIDs:function () {
return Meteor.users.find({}).map(function (user) {
return {label: user.profile.firstName, value: user._id};
});
}
But it turned out to be the drop down too large to select an option. Therefore I need to implement a functionality similar to HTML datalist in the autoform. How to implement this in meteor aldeed:autoform?
Upvotes: 0
Views: 121