For a few reasons:
- event.preventDefault() for the Enter key (to stop it from submitting
the form when you select an item) is only effective if it's a keydown
event.
- Using keydown for up/down navigation means you can hold them down to
rapidly scroll through a lot of items.
- Keydown events make the UX feel more responsive, and is consistent
with how most apps/operating systems handle key presses.
- explicitly set v-if on OpenIndicator
- only add searching and searchable state classes if noDrop is false
- only add OpenIndicator to toggleTargets if the $ref exists
* Remove the mutableValue prop in the Select component.
* Add back mutable value when Vue Select has to manage its own value.
* Remove mutableOptions, valueAsAarray. Update webpack minifer to use Terser.
* Fix tabbing
* Fix bug with showClearButton
* Fix tests.
* Call clearSelection when possible
* Update dev sandbox to have all three options for setting value.
* Update dev sandbox to display current value
* Remove unused karma test setup.
* Revert onInput name change.
* Use coveralls
* Change this.internalValue to this.$data._value.
* Remove onInput prop and replace with internal method, updateValue.
* Update tests.
* Rename optionObjectComparator to optionComparator.