vue-bootstrap-typeahead
vue-bootstrap-typeahead copied to clipboard
No disable
disabled doesn't work
You need access the input-field by ref. So disabled the input.
If you are using Typescript you can use following line to disable it, make sure to add a reference to the typehead component, in this case reference is 'refmodeltypeahead'
(this.$refs['refmodeltypeahead'] as any).$refs.input.disabled = true;