select - How to add a html datalist field to a meteor aldeed:autoform? -
i populated select input field 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 turned out drop down large select option. therefore need implement functionality similar html datalist in autoform. how implement in meteor aldeed:autoform?
there select2 add-on autoform, might want. see here.
Comments
Post a Comment