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

added Feature: :disable Property

Open stevenbuehner opened this issue 6 years ago • 7 comments
trafficstars

I was missing the feature to disable the input-field itself. Most vue bootstrap components that are using input-fields contain a :disabled property.

stevenbuehner avatar Dec 29 '18 15:12 stevenbuehner

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 Coverage Status
Change from base Build 38: 0.0%
Covered Lines: 47
Relevant Lines: 68

💛 - Coveralls

coveralls avatar Dec 29 '18 16:12 coveralls

Any chance of this being merged? Need this feature

jjohnson1994 avatar Mar 22 '19 11:03 jjohnson1994

I need this feature too. Please can you merge it?

entraigas avatar Apr 25 '19 01:04 entraigas

is this feature is available now ? ?

qadirfarooq avatar Oct 08 '19 18:10 qadirfarooq

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.

mattzollinhofer avatar Feb 23 '20 05:02 mattzollinhofer

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)`
}

xerardoo avatar Mar 13 '20 02:03 xerardoo

@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!

mattzollinhofer avatar May 27 '20 01:05 mattzollinhofer