Bootstrap UI Typeahead doesn't support two-way data binding -
hello read issue
https://github.com/angular-ui/bootstrap/issues/274 is closed... i've jsfiddle
https://jsfiddle.net/qq4gqn6t/12/
but when change model label not change... can me? thanks
checkout if jsfiffle, if desired behavior?...
all i've done is:
<input ng-model="selected.descrizione" class="form-control"> replaced state.descrizione selected.descrizione
thing is, state not available outside uib-typeahead directive, @ same time selected becomes handle can use.
Comments
Post a Comment