Closed vladejs closed 9 years ago
I've updated my app to meteor 1.2.0.2.
The helper that executes when an item is selected doesn't work. This is the helper in coffeescript:
selectedItem : (event, suggestion) -> console.log "Hi there"
and this is the input:
input
<input name="country" id="autocomplete" class="form-control locinput input-rel searchtag-input has-icon typeahead" data-source="countries" data-selected="selectedItem" required autofocus>
What's the problem here? i didn't touch anything either
@vladejs try to rename data-selected to data-select, now event names are synced with typeahead docs.
data-selected
data-select
Problem solved. Thank you very much @sergeyt.
Iam closing the issue.
I've updated my app to meteor 1.2.0.2.
The helper that executes when an item is selected doesn't work. This is the helper in coffeescript:
and this is the
input
:What's the problem here? i didn't touch anything either