Ken Foskey

Results 11 comments of Ken Foskey

Just had this one. I just killed my hot update 'npm run dev' and restarted and issue disappeared. Filenames are sometimes cached causing me issues. This also causes me an...

``` selectHighlighted(index, e) { if (this.showDropdown && this.$refs.suggestions.length > 0) { e.preventDefault(); this.selectSuggestion(this.$refs.suggestions[index].suggestion); } }, ``` Would it be a simple matter of emitting the keydown-enter here... else { this.$emit('keydown-enter');...

``` selectHighlighted: function selectHighlighted(index, e) { if (this.showDropdown && this.$refs.suggestions && this.$refs.suggestions.length > 0) { e.preventDefault(); this.selectSuggestion(this.$refs.suggestions[index].suggestion); } else { this.$emit('keydown-enter'); } `}, ``` This worked for me, note the...

I am using Typescript. There is a couple of other places to grab some definitions. Will helpi with this, self interest.

Adding this purely as a comment for other searchers... The following syntax works for Vue 2 and Typescript. constructor( private people: Administrator[]) { ... snip .... Replace( index: number, person:...

use refs in vue for referencing an element.

Look it up in vue docunentation

Reproduced on my application. I have a field that is sending enabled and disabled as a property on another field and this validator is triggering this error. Angular CLI: 6.0.8...

I am injecting a field onto the screen in a component. I had to do things like look for that field and flag it as disabled if the field is...

After some investigation here is what I was doing that caused the issue: Created form. form is valid. Added component on screen that added form element. form is now invalid....