1
我使用ngTagsInput,這是我的標記:ngTagsInput:如何在autocompete中顯示所有結果?
<tags-input add-from-autocomplete-only="true"
input-tabindex="4"
min-length="0"
ng-model="news.tags"
display-property="tagName"
replace-spaces-with-dashes="false" placeholder="Add tag">
<auto-complete load-on-focus="true"
load-on-empty="true"
min-length="0"
source="loadData('Tag', $query)">
</auto-complete>
</tags-input>
我只能看到10個結果,但我需要看到所有的結果。
感謝這個例子 - 我怎麼能在選擇標籤後離焦輸入?就像現在一樣,它只是再次加載標籤列表。 – KvnH
@KvnH你可以在選擇標籤後離焦輸入。正如我想要做的一樣。 – Bhavjot