-
-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Thanks for great plugin!
I'm trying to use it in dictionary, to point at the root of word. But list of 5 limited selections looks empty. But in console event return some relevant word object, searched through template subscription (not all collection)... Why list of autocomplete items looks empty?
Article collection document looks like { words: [{note, word}], translations: [ ] }
Honestrly, I don't know, what should I write in Template.rootAutocomplete .
rootAutocompleteSettings() {
return {
position: "top",
limit: 5,
rules: [
{
collection: Articles,
field: "words.word",
template: Template.rootAutocomplete
}
]
};
}{{> inputAutocomplete settings=rootAutocompleteSettings id="msg" class="input-xlarge" placeholder="root"}}<template name="rootAutocomplete">
{{words.word}}
</template>Metadata
Metadata
Assignees
Labels
No labels
