vue-bootstrap-typeahead icon indicating copy to clipboard operation
vue-bootstrap-typeahead copied to clipboard

No disable

Open luisgwapo opened this issue 5 years ago • 2 comments

disabled doesn't work

luisgwapo avatar Jul 02 '20 01:07 luisgwapo

You need access the input-field by ref. So disabled the input.

DenisLanks avatar Aug 28 '20 20:08 DenisLanks

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;

websterKAT avatar Dec 20 '21 05:12 websterKAT