Commit Graph

69 Commits

Author SHA1 Message Date
jeremywu
c42f905c10
refactor: i18n implementation (#2670) 2021-07-26 00:24:30 +08:00
Mao NianYou
d6fecf9b32
fix(select): should not stop at invisible options by up and down (#2585)
* fix(select): should not stop at invisible options by up and down

this also fix another problem (#2562): about unselect user-created tag in ElSelect

fix #2563 #2562

* fix(select): checkDefaultFirstOption: exlucde disabled options

fix #2562 #2563

* test(select): add test for "default-first-option" (with navigation)

check default first option

re #2585
2021-07-24 11:41:23 +08:00
msidolphin
d1dc55dc65
fix(select): filtered empty groups (#2507)
fix #2506
2021-07-14 15:01:00 +08:00
msidolphin
c1770d8877
fix(select): hoverIndex has incorrect when popover is turned on again (#2469) 2021-07-13 09:42:13 +08:00
C.Y.Kun
f6b17cb79a
fix(option): selectemitter was not turned off when it was destroyed (#2450) 2021-07-13 09:25:37 +08:00
Simona
e93f6f6984
style: add no-multi-spaces rule (#2345)
* style: add no-multi-spaces rule

* style: remove extra spaces
2021-06-25 16:25:54 +08:00
kooriookami
7c8ddf5167
perf(cascader): add fallback-placements in some components (#2267)
re #2259
2021-06-18 17:32:05 +08:00
jeremywu
8206e34a66
fix(project): fix/upgrade-to-vue-3-1-1-and-with-bug-fix (#2220)
- Upgrade Vue to 3.1.1 and fix the bug alone with the upgrade
2021-06-11 18:20:49 +08:00
inottn
77ab8ae0d8
fix(select): fix select with filterable has wrong dropdown options (#1811) 2021-04-11 20:58:58 +08:00
inottn
a35b7b5d1f
fix(select): fix filter method is not called when input first letter (#1711)
* fix(select): fix filter method is not called when input first letter

* chore(select): remove empty line

* test(select): add test case
2021-04-06 16:21:40 +08:00
KeiSei
5b4e6df405
fix(select): fix type of modelValue incompatible (#1719)
Co-authored-by: 贾希琦 <xiqi.jia@imart360.local>
2021-04-06 11:41:44 +08:00
jeremywu
ac0612965f
build(project): project/bumping-vue-version (#1702)
* build(project): project/bumping-vue-version

- Bumping vue to 3.0.9

* remove unnecessary dependency

* restore @vue/compiler-sfc
2021-03-28 12:46:58 +08:00
Ryan2128
99451a1ef6
fix(select): fix error position of input and tags (#1682) 2021-03-27 19:08:33 +08:00
inottn
178c39171a
fix(select): should reset placeholder after clear (#1679) 2021-03-24 22:54:35 +08:00
Ernest
3faec50c22
fix(select): modelValue should be deep reactive in multiple mode (#1624) 2021-03-16 21:41:08 +08:00
Ryan2128
4c3eb20b0b
fix(select): fix option-group error when groupQueryChange event trigger (#1639) 2021-03-15 20:13:31 +08:00
神楽坂みずき
7b83c1569e
fix(select): tag can't close if the option is disabled (#1605)
* fix(select): tag can't close if the option is disabled

re #1594, #1595

* fix(select): same change on collapse tag

* test: add test for tag of disabled option is not closable

* fix: fix when select is clearable

* test: add test
2021-03-11 20:32:36 +08:00
Ryan2128
543b2b08a0
fix(select): fix option migrate error (#1574)
* fix(select): fix option migrate error

* docs(select): update the accepted type of model-value
2021-03-09 20:25:21 +08:00
Ernest
2f60cb82d4
fix(select): disabled group not works (#1559)
* fix(select): disabled group not works

* test: add group disabled test
2021-03-04 20:57:43 +08:00
Ryan2128
c550bcfd27
fix(popper): fix popper error cause by vue version update (#1556)
* chore: update vue version

* fix(infinite-scroll): fix test case error

* fix(popper): fix popper error cause by vue version update
2021-03-03 11:43:31 +08:00
Ryan
298fd7fc89 perf(select): improve the performance when option mount and unmount 2021-03-01 10:59:29 +08:00
siam
966b76e9d2
perf(select): select options watch flush post (#1513)
* perf(select): select options watch flush post

fix #1512

* test(select): cover sync set value and options test

Co-authored-by: liao-zhi-peng <liaozhipeng@weis-inc.com>
2021-02-27 16:03:06 +08:00
Liu Shuiyuan
4574058263
fix(select): fix noMatchText error show (#1523)
* fix(select): Search and lose focus,then "No matching data" #1495

* fix(select): fix noMatchText error show

Co-authored-by: Ryan2128 <33176053+Ryan2128@users.noreply.github.com>
2021-02-26 23:47:34 +08:00
Ernest
3bbcec8a10
fix(select): emit blur event (#1504) (#1506) 2021-02-26 20:58:05 +08:00
Ryan2128
1bca12d6ae
fix(select): fix bug cause by scrollToOption (#1440) 2021-02-07 19:11:03 +08:00
Ryan2128
c11e572af1
fix(select): fix not scroll to default option (#1397) 2021-01-31 18:48:12 +08:00
Ryan2128
13574d9e1a
fix(select): fix tag's text is empty string when multiple with remote (#1393) 2021-01-31 18:47:52 +08:00
Ryan2128
dd13cb78da
fix(select): fix emptyText error show (#1213)
* fix(select): fix emptyText error show

* test(select): add emptyText error show test case
2021-01-07 20:26:26 +08:00
jeremywu
e01f3f8995
fix(select): Replace symbols to strings to avoid individual importing symbol issue (#1224)
- Replace symbols to strings to avoid individu
2021-01-07 17:53:54 +08:00
kooriookami
85bad6c169
test(select): add select modelValue prop type test (#1173)
* fix(select): fix select type missing array

* fix(select): add select test
2020-12-31 15:55:51 +08:00
kooriookami
03a7aa806e
fix(select): fix select type missing array (#1168) 2020-12-31 14:11:35 +08:00
jeremywu
a58f0fab90
chore(project): chore/bumping-vue-version (#1159)
* chore(project): chore/bumping-vue-version

- Upgrade vue to 3.0.5

* chore(project): - revision dependencies
2020-12-31 11:11:45 +08:00
bastarder
c77e773044
Fix/scrollbar (#1123)
* fix(select):  fix select scrollbar bug

* fix(table): fix table filter pane scroll bug

* fix(cascader): fix cascader pane scroll bug

Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-31 10:41:50 +08:00
kooriookami
6dedd12a17
fix(select): fix modelValue type (#1158) 2020-12-31 10:41:09 +08:00
XiongAmao
c9c9e0d494
fix: app.use(comp.vue) type is not compatible (#1067) 2020-12-23 14:07:15 +08:00
SuMingJiong
ad59057506
fix(select): fix content overflow in multiple select (#967)
* fix(select): fix content overflow in multiple select

fix content overflow in multiple select

fix #919

* style(select): change the inline style

change the inline style

* test(select): add test case

add test case for the multiple select
2020-12-17 16:51:59 +08:00
jeremywu
97dd66b172
fix(select): fix select multi mode rendering (#941)
- Fix select multi mode not rendering input box issue
2020-12-10 11:17:10 +08:00
bastarder
e4bb9daf4f
fix(select): Fix select.focus is undefined bug (#862)
* fix(select): Fix select.focus is undefined bug

* fix(select): Add hook test

Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-07 11:29:08 +08:00
jeremywu
2280dd5c5e
fix(project): fix/exporting-fix-for-volar (#849)
- Using `defineComponent` to wrap component up for Volar support, this should close #841
- Also made changes for some typing
- Removed `merge.ts` since `Object.assign` are now supported natively
2020-12-06 23:52:47 +08:00
kooriookami
ab76b845f5
fix(select): fix error style of select-dropdown (#838)
n

fix #812
2020-12-05 21:46:58 +08:00
Simona
99dbe0e233
fix(popper): revert appendToBody from false to true (#845) 2020-12-05 12:30:15 +08:00
bastarder
b55e78b8d7
fix(select): Fix select height error bug (#834)
Co-authored-by: bastarder <jie.qian@blockheaders.com>
2020-12-04 16:58:39 +08:00
jeremywu
790103596c
fix(select): fix select value did not match issue (#808)
* fix(select): fix select value did not match issue

- Fix when select's options were added after select is mounted, the value will not match

* fix: options.push cannot trigger watcher

Co-authored-by: 陈婉玉 <simonaliachen@gmail.com>
2020-12-04 13:39:01 +08:00
Simona
5db2e9729c
fix: popper transition with 'el-zoom-in-top' (#785)
fix all picker's transition and styles, including select, autocomplete, timer-picker, date-picker
and so on, which transition should be 'el-zoom-in-top' and without duplication.
2020-12-02 22:33:26 +08:00
Simona
8f084d0e08
fix: destructing import from lodash cause dist too large in esm version (#788) 2020-12-02 18:14:33 +08:00
jeremywu
de0696b4f6
core/bumping-dependency-vue-version (#729)
* bumping version

* build(core): bumping vue version

- Bumping up vue version from ^3.0.0 to ^3.0.3 due to the change of `emitOptions`

* Remove transition mock/Add before-enter and before-leave hook emitter for popper
2020-12-01 10:28:42 +08:00
kooriookami
84321952e0
doc: Fix and improve v-slot/slot (#711)
* style(slider): slider button style change

slider button add box-sizing: border-box and change the default size to make sure the style is the
same of before.

* style(slider): remove outline

* fix(docs): replace error v-slot/slot to correct

Replace all `v-slot` to `#default`, `v-slot:xxx` to `#xxx`, `slot="xxx"` to `#xxx`.

fix #704

* docs: v-slot can not bind on div

* fix: fix v-slot
2020-11-29 18:50:46 +08:00
zazzaz
e35d3f761c chore: update build type 2020-11-27 11:19:13 +08:00
Ryan2128
3eaa653fe8
fix(select): fix tag content error in multiple mode (#641) 2020-11-21 11:04:52 +08:00
zazzaz
b19d2fc374
fix: correct bundle export (#630)
* fix: correct bundle export

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
2020-11-20 20:24:16 +08:00