This commit is contained in:
@@ -29,8 +29,6 @@
|
||||
</div>
|
||||
</template>
|
||||
</v-autocomplete>
|
||||
<!-- <div>autocomplete selected item: {{ selected }}</div> v-bind:value="value"cache-items
|
||||
<div>searchResults: {{ searchResults }}</div> -->
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@@ -106,7 +104,6 @@ export default {
|
||||
var urlParams = "?ayaType=" + vm.ayaType + "&preId=" + vm.value;
|
||||
vm.getList(urlParams);
|
||||
}
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -144,7 +141,7 @@ export default {
|
||||
//clear any local errors
|
||||
vm.errors = [];
|
||||
|
||||
//if the selected search entry is in the results list then it's just a selection made manually not a typed search so bail
|
||||
//if the search entry is in the results list then it's a drop down selection not a typed search so bail
|
||||
for (var i = 0; i < vm.searchResults.length; i++) {
|
||||
if (vm.searchResults[i].name == val) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user