2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Jeff Sagal f67a352481 throw console warning if option[label] does not exist, prevents TypeError from breaking page
closes #155
2017-03-09 12:55:44 -08:00
Jeff Sagal 156fcb1130 - fix Vue 2 peer dependency
- fix typo in readme
- add test coverage for focus/blur events
2017-02-03 16:39:07 -08:00
Jeff Sagal cbeffafb17 - better background color for 'active' dropdown option
- simplify conditional logic in select()
	- less nested conditionals
	- tagging logic moved to createOption method
	- add option:created event
	- pull up push tags logic to it's own method
- improve isOptionSelected so that functionality is exactly the same as v1
	- hitting enter on an already added tag will remove it from the value instead of doing nothing
2017-02-02 16:40:11 -08:00
Jeff Sagal b096555b68 component
- switch to `v-if` (#98)
- update array string filter to be case-insensitve

testing
- update karma to hide output from skipped tests
- skip scroll down test until http://github.com/vuejs/vue-loader/issues/434 is resolved

build
- add dev.html to be used as entry point for development
2017-01-24 22:23:15 -08:00
Jeff Sagal f5e3e25dc0 fixes:
- change currentSelection to mutableValue
- change currentOptions to mutableOptions
- change showLoading to mutableLoading
- add default onChange function that emits an input event
	- allows the use of v-model syntax on the component
- since spies on props throw warnings because they are now immutable, refactor tests so spies aren't required

todo:
- update docs
- 1 failing test from inject-loader issue
2016-12-20 10:53:49 -08:00
Rajesh Akkineni 23355ea246 Some more changes.
changed from actualValue to currentSelection
2016-10-22 17:55:17 +05:30
Rajesh Akkineni 52e555e02f Fixed more issues for vue2.0 & updated tests 2016-10-20 11:48:56 +05:30
akkinenirajesh b2c201dde9 Changed test to call select instead of set
But no idea why value is readonly property.
2016-10-20 08:05:14 +05:30
Jeff Sagal afdc4da785 manually track down options when deselecting instead of relying on array.$remove, fixes #74 2016-07-11 22:13:43 -07:00
Jeff Sagal 6eead7a702 resetOnOptionsChange true by default, remove redundant test 2016-07-11 16:29:18 -07:00
Blaine Ehrhart 361aba64d9 Added resetOnOptionsChange parameter to allow changing the options of the select without resetting the value. This is extra useful for ajax request, especially slow ajax requests 2016-06-20 16:17:00 -07:00
Jeff Sagal 0a15c00b0c fix #54 and add regression test, use 2 space indents 2016-06-16 15:00:08 -07:00
Jeff Sagal 480bfc1c5f ajax mixin 100% coverage, ready for production 2016-06-15 20:34:24 -07:00
Jeff Sagal f8e549306a use keydown for moving pointer, resolves #45 2016-05-31 18:35:01 -07:00
Jeff Sagal 737ab8d1fc separate logic into mixin, complete test coverage with mocks and spies 2016-05-31 13:54:36 -07:00
Jeff Sagal cf87f838fd remove wrapper, start add tests 2016-05-31 10:18:55 -07:00
Jeff Sagal f682f03946 complete dropdown toggle tests 2016-05-29 20:44:42 -07:00
Jeff Sagal b743425aca Merge branch 'master' into webpack
# Conflicts:
#	.gitignore
2016-05-29 14:01:24 -07:00
Jeff Sagal 802daaa117 switch to web pack build 2016-05-28 15:50:02 -07:00