vue-bootstrap-typeahead
vue-bootstrap-typeahead copied to clipboard
added Feature: :disable Property
I was missing the feature to disable the input-field itself. Most vue bootstrap components that are using input-fields contain a :disabled property.
Pull Request Test Coverage Report for Build 48
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 69.388%
| Totals | |
|---|---|
| Change from base Build 38: | 0.0% |
| Covered Lines: | 47 |
| Relevant Lines: | 68 |
💛 - Coveralls
Any chance of this being merged? Need this feature
I need this feature too. Please can you merge it?
is this feature is available now ? ?
Hey, I'm looking to revive this project, but I haven't been able to track down the author. So, I've forked it over to here: https://github.com/mattzollinhofer/vue-typeahead-bootstrap.
I'll try to take a look at this PR soon and see if I can get it merged as it seems like there's a number of folks who need this to be fixed and it follows spirit of integrating with bootstrap.
An option is access to the input via $el, example:
<vue-bootstrap-typeahead
inputClass="input-property"
...
/>
mounted() {
this.$el.querySelector(".input-property").setAttribute('disabled', true)`
}
@stevenbuehner: thanks again for this PR -- I just merged this into the new repo: https://github.com/mattzollinhofer/vue-typeahead-bootstrap/commit/660f49a5120a88c18dd6780fa85d156a9b2ef10d, I hope it's still helpful!