Meteor-Community-Packages / meteor-autocomplete

Client/server autocompletion designed for Meteor's collections and reactivity.
https://atmospherejs.com/mizzao/autocomplete
MIT License
350 stars 109 forks source link

Preselect or set a default value #152

Open yogi4u opened 3 years ago

yogi4u commented 3 years ago

What

I would like to know how I can preselect/prepopulate a value in autocomplete input text. If that is not possible is there any way to set a default value? HTML value="default" does not work.

Use case

I am trying to use it in an email composer's to, cc, bcc fields. By default the input fields have some default user selected, ( it may be different depending on case) but they can change it using the search in autocomplete.