Commit Graph

212 Commits

Author SHA1 Message Date
Harlan
f55fbdb051 Select: add slot empty (#13785)
* Select: Add slot `empty` (#13769)

* Select: add test case for slot `empty`
2019-02-19 14:36:09 +08:00
hetech
5b32ec426d
Select: fix repeat clicking to display dropdown menu (#13268) 2018-11-02 11:35:33 +08:00
Amumu
74fb8ac225 Select: Improve Robustness, fix #13049 (#13245) 2018-10-31 15:59:35 +08:00
Akshay Jat
6ae54e5230 Select: fix option wrap in multiple mode (#12329)
* Select: Fix (#11392 & #12327) Writing space become small when collapse-tags prop is added & input takes new line even if space is available when filterable & multiple props are true

* Changes as IE & Edge dosen't support display: contents

* Revert "Changes as IE & Edge dosen't support display: contents"

This reverts commit 21475c6daac3e0ca364b4a9889e899316e553839.

* Fixed issue - input going in new line even if there is space (collapse-tags)

* Made calculating with dynamic (replaced static 208 with el-select__tags dynamic width)

* Select: Fixed Bug - Extra Height

Fixed bug - getting extra height whenever last options width is most of same as select's width
2018-10-17 16:40:29 +08:00
咖喱
868bbc71e7 Select: fix readonly problem in edge (#13034)
Cascader select readonly 添加 edge 浏览器判断;
src/utils/util.js 添加 isIE, isEdge方法;
2018-10-17 10:57:41 +08:00
hetech
ef397572da
Select: fix size attribute not working (#13070) 2018-10-17 10:36:33 +08:00
ZSkycat
9bbae74cb6 Select: make clearable work for multi select (#13049)
* Select: make clearable work for multi select (#6399)

* Select: chore

* Select: fix bug and update docs (#13049)
2018-10-15 16:47:23 +08:00
firesh
c8ce0410f9 select: refactoring icon reverse (#12353)
* select: refactoring icon reverse

* select: disable clear icon when select popup is visible

* select: refactoring clear icon
2018-10-11 18:41:18 +08:00
hetech
9f345d89c0
Select: use initial height to reset height of input (#12719)
* Select: use initial height to reset height of input

* Update select.vue
2018-09-13 18:52:08 +08:00
Axetroy
ec6cac4232 Input: fix autocomplete property is not compatible with native #12513 (#12514)
* fix #12513

* fix: fallback for autoComplete and print deprecated warning

* fix: fix auto-complete property in select component

* fix default complete value

* Docs: Update document for autocomplete property change

* Docs: remove redundant documents

* remove unnecessary console log message\

* Update select.md

* fix: add missing declaration in select.d.ts
2018-08-28 15:44:21 +08:00
hetech
6f08e941aa
Select: not clear text when filtering (#12304) 2018-08-10 15:28:22 +08:00
Jikkai Xiao
fbe58a4015 Cascader: escape special characters for regexp (#12248) 2018-08-07 10:36:49 +08:00
hetech
7f2510f0f1
Select: debounce query (#12181) 2018-08-02 19:28:41 +08:00
杨奕
ef74ee05b3
Select: revert #10105 (#11837) 2018-07-03 15:03:50 +08:00
kratsstark
9355bd3180 Select: remove empty option item when default value is null in single mode (#11731) 2018-06-25 12:27:04 +08:00
Jiewei Qian
0ed8d18603 Select: fix form change validation (#11672) 2018-06-20 11:15:34 +08:00
杨奕
51f3035346
Select: hide clear icon when value is null (#11460) 2018-06-01 17:19:51 +08:00
hetech
602afe0364 Select: add prefix named slot (#11063)
* Select: add prefix named slot

* Update select.md
2018-05-08 19:12:25 +08:00
杨奕
1aed314527
Select: fix infinite loop of keyboard navigation when all filtered options are disabled (#10945) 2018-04-29 18:12:02 +08:00
杨奕
16dc174a8d
Select: input should be readonly when options menu not visible (#10944) 2018-04-29 18:00:56 +08:00
杨奕
9c058fbf7c
Select: remove blur emit after soft focus (#10822) 2018-04-21 16:39:48 +08:00
杨奕
9a1afc3b33
Select: focus input in setSoftFocus when available (#10801) 2018-04-20 14:10:16 +08:00
杨奕
3eb377f72f
Select: update docs for automatic-dropdown (#10727) 2018-04-16 12:32:14 +08:00
Gary Kaganas
25fcfb34d7 Select: allows user to choose if select focus triggers menu (#10042)
* Select: Preserves focus after options selected

* Select: softFocus: Passing lint
Write test

* Select: Soft focus: Include input ref

* Revert src/index.js

* Update select.vue

* Select: Default focus on select does not open menu. Added attribute for automatic-dropdown. Includes tests

* Select: remove trailing space

* Select: Removing incorrectly applied automatic-update props from input elements

* Select: Fixed up references to correct focus tests

* Select
- Checking if automatic dropdown already revealed menu when toggling menu
- Updating test: removing timeouts for related test

* Update select.vue
2018-04-16 12:02:54 +08:00
Hyuni
783cb2691f Input / Select: fix Korean IME composition bug (#10648)
* Input: fix cursor goes to the end of the text(#10611)

* Input: fix cursor goes to the end of the text(#10611)

* Update input.vue

* Update select.vue

* Update input.vue
2018-04-15 15:57:35 +08:00
杨奕
5da88ade6b
Select: fix a wrong variable name (#10618) 2018-04-09 14:20:46 +08:00
杨奕
0b7e9dae5c
Input / Select: shouldn't fire input event during composition (#10517) 2018-04-02 18:12:56 +08:00
Leopoldthecoder
46b70a5b89 Select: add blur method 2018-03-28 18:45:12 +08:00
Leopoldthecoder
7ae2662b7c Select: update popper after options change 2018-03-28 17:57:34 +08:00
杨奕
c6e85dbd81
Select: remove scrollToOption after selection (#10115) 2018-03-11 16:19:59 +08:00
杨奕
f234b161df
Select: trigger validation after resetField (#10105) 2018-03-10 20:20:48 +08:00
杨奕
62b0e2ace9
Select: remove unnecessary remote query when focused (#9998) 2018-03-05 13:14:12 +08:00
杨奕
c5d76d7910
Select: fix an emptyText visibility bug (#9969) 2018-03-02 12:23:09 +08:00
Gary Kaganas
bc39454c93 Select: preserves focus after selection (#9857)
* Select: Preserves focus after options selected

* Select: softFocus: Passing lint
Write test

* Select: Soft focus: Include input ref

* Revert src/index.js

* Update select.vue
2018-03-02 11:16:49 +08:00
落叶
5f75ab8375 Select: focusing does not show popper (#9894) 2018-03-01 16:02:13 +08:00
杨奕
0f06fd5079
Select: add popper-append-to-body (#9782) 2018-02-11 18:18:49 +08:00
Leopoldthecoder
56dc51bc85 Form: add disabled 2018-01-29 18:14:58 +08:00
杨奕
e56ae9ab5a Select: keep input height if not expanded (#9452) 2018-01-26 11:24:09 +08:00
Leopoldthecoder
dad96b49c5 Select: add auto-complete 2018-01-22 14:02:20 +08:00
Leopoldthecoder
3c942d8e93 Select: remove unnecessary query when focused 2018-01-21 11:13:26 +08:00
Lukasz Balcerzak
b91e8ee3a3 Select: reset input height when filterable and collapse tags (#8966)
* Added example that exposes the issue

* Fixed issue if select component has collapse tags and filtering enabled at the same time

* tests

* simpler tests
2018-01-08 12:27:54 +08:00
Leopoldthecoder
11d2263678 Select: fix remove-tag event param 2017-12-31 17:23:17 +08:00
Leopoldthecoder
5bb6135f6f Changelog: update for 2.0.10 2017-12-29 18:07:33 +08:00
Leopoldthecoder
e64ba965d6 Select: fix default-first-option on created options 2017-12-12 19:03:52 +08:00
Leopoldthecoder
dca4b7afd2 Chore: configure es docs 2017-12-12 14:05:55 +08:00
mario_ma
bd3ccaab3f Select: use tags to show option when collapse-tags is set (#8567)
* modify set collapse-tags just show text

* Update select.vue
2017-12-11 18:03:40 +08:00
yoyo837
216cf0c990 limitReached:Improve robustness when it does not set a default value 2017-12-04 17:59:46 +08:00
Leopoldthecoder
7a4ec97f0d Chore: misc updates 2017-11-26 16:57:41 +08:00
Leopoldthecoder
6a99f03e1f Select: update scroll bar position 2017-11-23 19:22:16 +08:00
Leopoldthecoder
e033313608 Select: fix filter input display in multiple mode 2017-11-23 11:36:48 +08:00