search

Home  >  Q&A  >  body text

angular.js - Typeaheads plugin in AngularStrap

Use the Typeaheads plugin in AngularStrap

As shown in the picture. For example, I want to search for the value under the keyword "ah"
But both pinyin and Chinese characters are displayed. How can I only display Chinese characters?

某草草某草草2797 days ago722

reply all(2)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-15 17:02:06

    Update previous question.

    typeaheads

    With Chinese content, you can directly use the code of the example below.

    <input type="text" class="form-control" ng-model="selectedAddress" data-animation="am-flip-x" bs-options="address.formatted_address as address.formatted_address for address in getAddress($viewValue)" placeholder="Enter address" bs-typeahead>
    

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-15 17:02:06

    You can try the asynchronously obtained Address input box below, it should be fine to enter there

    reply
    0
  • Cancelreply