Commit Graph

132 Commits (22ab137963a2092a100e0580f0bee93d9be99c20)

Author SHA1 Message Date
Leopoldthecoder 917ce43cad Select: optimize onOptionDestroy 2017-08-05 18:00:56 +08:00
Leopoldthecoder f23629ac43 Select: remove resetIndex 2017-08-05 18:00:56 +08:00
Leopoldthecoder 4f21221c0b Merge remote-tracking branch 'eleme/dev' into carbon 2017-07-29 22:05:15 +08:00
Leopoldthecoder 7aa89a0dde Select: fix isObject bug 2017-07-29 21:51:35 +08:00
wacky6.AriesMBP 01f85b1831 Select: fix dropdown scroll for multiple select 2017-07-29 21:11:52 +08:00
孙志东 ce0da21067 check popper exist before invoke scrollIntoView 2017-07-28 12:49:06 +08:00
wacky6.AriesMBP fc242b6179 Select: fix change event
Only emit change for user input

Before:
  select.value = 1;   // triggers change

After:
  select.value = 1;   // does not trigger change
2017-07-28 10:25:24 +08:00
Leopoldthecoder 96f542e024 Merge branch 'dev' into carbon 2017-07-20 20:51:59 +08:00
Dreamacro 0a2dd8bd53 Add focus method for some form component 2017-07-20 16:50:38 +08:00
Leopoldthecoder daa4f83e4f add object-typed value test 2017-07-20 12:37:04 +08:00
Leopoldthecoder 40a873e93e Select: add value-key 2017-07-20 12:37:04 +08:00
wacky6.AriesMBP e60ff9e9b6 Select: rework auto scroll to selected option 2017-07-20 11:16:37 +08:00
Dreamacro b1860f5274 support focus and blur for select 2017-07-18 12:18:26 +08:00
wacky6.AriesMBP 82a54fa095 Select: fix dropdown scroll 2017-07-02 20:04:50 +08:00
Leopoldthecoder f9b19d9aa1 Dialog: fix incorrect updatePopper calls 2017-06-09 16:21:48 +08:00
patriciussanctus 3b3b3377b5 select into dialog `esc` stopper
without modifier `.stop` after closing popper dialog also closing.
2017-06-03 17:37:06 +08:00
Leopoldthecoder bffb1808dc Select: add clear event 2017-06-03 17:04:25 +08:00
wacky6.AriesMBP bd2e172fa3 Select: fix default-first-option with remote
make default-first-option work with async filter/remote method
test is updated to reflect this change
2017-05-30 11:21:02 +08:00
杨奕 f485a3ff9e Select: fix emptyText display when allow for create (#4977) 2017-05-21 21:46:46 +08:00
wacky6 e2e31790da Select: add default-first-option
default-first-option: boolean
* if set to `true`, select first matching option on enter
* only works if `filterable` or `remote` is `true`

test is included
2017-05-18 06:36:04 -07:00
杨奕 dc6f754ab5 declare el-collapse-transition in its dependents (#4728) 2017-05-08 14:06:23 +08:00
Philip Andersson fcfda74543 [Bugfix] el-select multiple with vuex (#4226)
* Select: Fix Vuex compability when using multiple

* Adding timeout for first click to allow input event to propagate before second click

* Update select.vue
2017-04-29 21:05:01 +08:00
杨奕 92b4156aaa Select: optimize performance of long option list (#4444) 2017-04-26 00:08:15 +08:00
杨奕 5abce7d800 Dialog: add before-close (#4423) 2017-04-25 17:28:40 +08:00
pengchongfu 36cc555f6e Select: avoid stack overflow, fix #4106 2017-04-16 11:35:21 +08:00
杨奕 cc1349eba9 Select: fix single mode allow-create not working in Vue 2.2.x (#3984) 2017-04-06 18:49:12 +08:00
Semen Levenson b9e3e7faef Option: Fix #3728 bug
Select component with remote search clears what you typed when the value for each el-option is an object
2017-03-30 11:36:05 +08:00
Leopoldthecoder 62332f07ce Select: exec removeResizeListener in beforeDestroy hook, fixed #3797 2017-03-28 17:43:28 +08:00
pcf 04fa32a8d0 rename delete-tag to remove-tag 2017-03-26 21:33:00 +08:00
pcf 954caf12bc Select: fix delete-tag 2017-03-26 21:33:00 +08:00
pengchongfu a3dca68fb0 Select: add delete-tag event (#3632) 2017-03-26 21:33:00 +08:00
杨奕 c77489a44e Select: fix an undefined bug (#3015) 2017-02-24 17:23:49 +08:00
thomasyonug 080a996f3f select:fixed #2890 placeholder recover after options clear 2017-02-21 10:59:56 +08:00
杨奕 8d4b6f8f99 Select: fix incorrect scrollTop on first popup (#2699)
* Select: fix incorrect scrollTop on first popup

* Select: wrap tag text with a span
2017-02-12 13:01:10 +08:00
baiyaaaaa 5baa8774cb Merge pull request #2754 from ElemeFE/1.2-try
1.2 try
2017-02-09 19:11:14 +08:00
Leopoldthecoder 3243b8fc98 Merge branch 'dev' into 1.2-merge1
# Conflicts:
#	package.json
#	src/utils/popup/index.js
#	yarn.lock
2017-02-09 17:33:42 +08:00
HakurouKen 474084e63d Remove unused prop in `ElOption`. (#2730)
* Fix lint error.

* Remove unused prop.
2017-02-09 15:53:23 +08:00
杨奕 332b58886d Scrollbar: return if component gets destroyed in mounted hook (#2588)
* Scrollbar: return if component gets destroyed in mounted hook

* Select: handle paste events in filterable mode
2017-02-04 16:15:24 +08:00
Pierre-Louis Renaudin f62fab6838 Fix #2596 filterable group select 2017-01-26 17:42:29 +08:00
Leopoldthecoder d382d46e06 delete Select configs 2017-01-23 16:07:52 +08:00
Leopoldthecoder 5e455f911f Select: fix incorrect popper updating when filterable 2017-01-23 14:21:43 +08:00
cinwell.li 9f5c08e6e6 Clean packages (#2345) 2017-01-23 14:06:01 +08:00
Leopoldthecoder 8fc55e30e6 Select: input regain focus when multiple&filterable 2017-01-22 12:48:02 +08:00
Leopoldthecoder 1c6c0cda45 Select: fix disabled multiple filterable bug, add missing scrollbar styles 2017-01-22 12:23:12 +08:00
baiyaaaaa 20fabc7b09 change vue-pomper 'options' to 'popperOptions' 2017-01-18 17:36:37 +08:00
Leopoldthecoder b5d5922709 Select: get the latest cached option 2017-01-18 14:40:59 +08:00
Leopoldthecoder 37ee8e9f88 Select: update style if initially invisible 2017-01-18 14:40:59 +08:00
Leopoldthecoder 7f0525b15a Select: fix filterable error with number-typed value 2017-01-13 12:38:54 +08:00
十界 868847161a Select: fix multiple style issue (#2330) 2017-01-11 10:35:19 +08:00
Leopoldthecoder 3b5248ec2a Select: fix filterable init value issue, fixed #2196 2017-01-05 22:31:37 +08:00