2017-04-14 52 views
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?

回答

1

有一個選擇2添加爲自動窗體,這可能有助於得到你想要的東西。請參閱here

相關問題