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

115 Commits

Author SHA1 Message Date
Jeff 072bf4160d Merge pull request #171 from fidgetwidget/non-multiple-improvements
Added features to non multiple selects
2017-04-24 11:23:34 -07:00
Kori Roys 68b67e3297 improve description 2017-04-01 12:10:01 +02:00
Kori Roys ecd76ce4dd improving name for should-dropdown-close option. adding test 2017-04-01 12:07:19 +02:00
Brandon Bey 4bd8cc83cc Adjustments based on discussion with component owner
- Moved the single class up to the root .v-select tag
- Added a searching class when there is text in the search input
- Added clearing of search text on single when clear on select is set to true, 
otherwise dim the search text (for single, where clear on select is false)
2017-03-31 12:35:42 -07:00
Kori Roys 897b0d8fb2 Add option to allow closing a multi-select when a value is selected 2017-03-31 15:10:24 +02:00
Brandon Bey 5271ed7c70 Added features to non multiple selects
- added a single class to the selected-tag for non multiple selects
- added styling to the single selected-tag to differentiate it from the default
2017-03-30 16:21:18 -07:00
Jeff 0e73e36f0f Merge pull request #129 from mgmeiner/master
Add ability to add id to the input element
2017-03-23 09:04:54 -07:00
Jeff a53bf5bf33 Merge pull request #167 from sagalbot/mutableloading
Mutableloading
2017-03-22 18:35:43 -07:00
Jeff Sagal 8a17aef811 better dev template for ajax 2017-03-22 18:35:12 -07:00
Jeff Sagal bae486a8e3 - move mutableLoading data property to ajax mixin
- open dropdown only when not loading
- add watcher to keep loading synced with mutableLoading
2017-03-22 18:33:32 -07:00
Jeff Sagal 5be214ba6e .dropdown-menu is hidden by default in 4.0.0-alpha.6
#165
2017-03-22 17:51:27 -07:00
Jeff Sagal 546418da1f - fix variable reference (showLoading should have been mutableLoading) in ajax mixin and specs
- add `search` event fired at same time as callback
2017-03-16 15:38:40 -07:00
Jeff Sagal 5470adbbd6 - switch back to transparent border on open dropdown toggle
- pull font-family up to .v-select
- add default box-shadow and background to dropdown menu
2017-03-13 12:46:14 -07:00
Jeff Sagal 69476deec9 - fixes Safari search input appearance
- numerous fixes for consistent browser styling
- fixes/adds default transition for dropdown
- removes debounce as a prop
- removes unused transitions on list items
- removes unnecessary styles
2017-03-12 20:07:35 -07:00
Jeff Sagal 61c6fa2c1c add webkit prefix to appearance 2017-03-11 23:19:06 -08:00
Jeff c151fadae6 Merge pull request #156 from sagalbot/simple-css
Simple css
2017-03-11 16:34:03 -08:00
Jeff Sagal ffbd2238b8 #124
- organize css
- switched 'selected' class back to 'active'
- remove specificity where possible
- add unsearchable and loading example to dev template
2017-03-11 16:27:36 -08:00
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 e202474905 WIP
remove clearfix class
clean up spacing in css
add unsearchable class to dropdown
2017-03-09 11:29:08 -08:00
Jeff Sagal ea11bc26d5 WIP #141 #124
- add necessary styles to work without bootstrap
- update bootstrap 4 compatibility
2017-02-21 23:08:37 -08:00
WITT-AD\Micgme 5b4b72147a update docs 2017-02-09 18:31:20 +01:00
WITT-AD\Micgme 861d457944 make id of input-element customizeable 2017-02-09 18:24:46 +01:00
Jeff Sagal c57957c09e - closes #95
- $emit focus and blur when opening and closing the dropdown
- make createOption default syntax consistent
2017-02-02 22:52:56 -08:00
Jeff Sagal 35e1631f35 fix highlighting bg inconsistencies 2017-02-02 22:22:37 -08:00
Jeff Sagal e81582c093 more tweaks to highlighted background color 2017-02-02 22:16:34 -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 201e135964 - new dedicated development template
- separate environment for developing docs
- clear out discarded couscous files
- start converting docs markdown
2017-02-01 22:32:06 -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
Rajesh Akkineni ee423394e3 Fixed more issues reported by vue-migration-helper 2016-10-20 09:08:26 +05:30
Rajesh Akkineni d1f3a57fff Upgraded versions to support template compilation rendering 2016-10-19 19:50:15 +05:30
Rajesh Akkineni 2ea337e1dc Mograted to Vue2.0 2016-10-19 18:15:14 +05:30
Dean Tedesco a7d3d8f1bc Changed implementation of non searchable option.
This now uses the same input field but makes it readonly instead of trying to swap it out for a non focusable element in turn causing the following issues:
* styling is different
* element is not focusable
* keyboard support - navigating options is disabled
* cannot tab to component
2016-09-29 11:46:27 +10:00
Jeff Sagal b538fb43f2 don't require onSearch to be true to display spinner 2016-08-15 16:51:40 -07:00
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
Jeff Sagal 7c96fb5813 remove stray coverage file 2016-07-11 16:21:35 -07:00
Jeff Sagal 005f941834 - create transpiled umd module
- breaking changes for requireJS
	- /umd/vue-select moved to /dist/vue-select
2016-07-04 13:00:35 -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
Blaine Ehrhart 46119f84a9 Fixing a scrollbar bug when the list is loading
The negative text indent will cause the scrollbars to go berserk as the loading text gets rotated around the view port. Overflow hidden insures the text outside the spinner is not displayed.
2016-06-17 10:31:57 -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 fe5372fb10 Merge branch 'master' into umd
# Conflicts:
#	src/components/Select.vue
2016-06-15 21:33:16 -07:00
Jeff Sagal bfae6b3068 add ajax to docs 2016-06-15 20:34:38 -07:00
Jeff Sagal 480bfc1c5f ajax mixin 100% coverage, ready for production 2016-06-15 20:34:24 -07:00
Jeff Sagal 2653e5ee0a move demo related files to /docs/ add gh-pages module 2016-06-10 14:35:14 -07:00
Jeff Sagal 43aa13c5d9 fine tune build, add bower.json 2016-06-10 11:24:05 -07:00
Sven Luijten 89396709ad change install snippet on GitHub pages 2016-06-05 19:30:16 +02:00
Jeff Sagal 699e5de0d7 Merge branch 'master' into mixins
# Conflicts:
#	src/components/Select.vue
#	src/mixins/pointerScroll.js
2016-06-03 11:00:25 -07:00