I have a dropdown list
and a ui-select
. on the basis of dropdown value ui-select
values are binding. but if i am directly pasting that specific values into ui-select
it is showing as selected.
how can we prevent a ui-select
from copy paste values?
example is shown below.
Select Query <div class="dropdown-Finding">
<ui-select class="form-control dropdown-reviwerFinding-select" id="searchBarArea" onkeypress="return false;" multiple tagging tagging-label="false" ng-model="QiReviewerFindingType.selectedItems" theme="bootstrap">
<ui-select-match placeholder="Select Reviewer Findings">{{$item.ShortDescription}}</ui-select-match>
<ui-select-choices repeat="qiQueryFinding in qiQueryFindings | filter:$select.search">
{{qiQueryFinding.ShortDescription}}
</ui-select-choices>
</ui-select>
<span class="carat" open-menu-by-click="searchBarArea"></span>
</div>