Commit Graph

185 Commits

Author SHA1 Message Date
sea
1f82e8ca61 feat(components): [select & select-v2] explicit export selectedLabel (#18350)
* feat(components): [select] export selectedLabel

* docs: update

* docs: update th

* docs: update selectedLabel version
2024-10-11 13:48:12 +08:00
qiang
8908e738e5 fix(components): [select] the blur not triggered when click the outside (#18478)
* fix(components): [select] the blur not triggered when click the outside

closed #18235, #18238

* test: add test
2024-10-11 11:47:35 +08:00
sea
16bb0b7df1 fix(components): [select] use blur in the tooltip slot has no effect (#18335)
* fix(components): [select] use `blur` in the tooltip slot has no effect

* fix(components): [select-v2] use `blur` in the slot has no effect

* feat: delete useless code
2024-10-09 22:48:28 +08:00
Karolis_Stoncius_Sneakybox
03fa5d6839 feat(components): add the ability to append table filter panel, select and pagination size dropdowns to any element (#14318)
* feat(components): [pagination] append size dropdown to element

* feat(components): [select] append select dropdown to element

* feat(components): [table] append table filter panel to element

* refactor(components): [pagination] shorten prop names

* fix(components): [select] appendTo prop

* docs(components): add pagination docs append-size-to version tag

* docs(components): remove append-size-to default value in docs

* refactor(components): remove default appendTo values

* docs: version bump

* refactor(components): remove default appendFilterPanelTo value
2024-09-26 09:56:23 +08:00
qiang
8e6b88dcca revert(components): [select] cancel type conversion at initialization (#18088)
closed #17944
2024-09-03 15:20:46 +08:00
qiang
c24309aea0 fix(components): [select] call the exposes blur is invalid (#17691)
* fix(components): [select] call the exposes blur is invalid

closed #17367

* chore: remove the unnecessary code
2024-09-02 16:37:03 +08:00
btea
d7e5f193cd fix: the disabled state should not trigger focus (#18108) 2024-08-31 19:48:48 +08:00
qiang
044f0afc1e fix(components): [select] switching single/multiple generates an error (#18030)
closed #17890
2024-08-29 19:06:41 +08:00
dopamine
8618a6bcd0 refactor: import shared utilities from @element-plus/utils (#18048)
chore: import shared utilities from `@element-plus/utils`
2024-08-29 09:04:03 +08:00
Haceral
9234661993 style(components): [select] add a unique class name for the clear icon (#17575)
Co-authored-by: Haceral <18274416193@163.com>
2024-08-22 09:35:44 +08:00
Kylin
797e39dbe7 chore(components): [select] remove unnecessary assertions (#17893)
perf(components): remove unnecessary assertions
2024-08-14 17:30:31 +08:00
qiang
2f69776b30 fix(components): [select] binding click event is invalid (#17876)
* fix(components): [select] binding click event is invalid

closed #17863

* chore: typo
2024-08-14 10:50:23 +08:00
qiang
949479699b refactor(hooks): determine the focus by event listening (#17719)
* refactor(hooks): determine the focus by event listening

* test: skip the focus test

* test: fix test

* feat(hooks): add beforeFocus

* fix: optimize blur

* chore(components): [mention] remove focus & blur
2024-08-07 18:35:30 +08:00
锌小子
b29d82f4e7 fix(components): [select] equal objects cannot destroy instances (#17214)
fix(components): [select]

support value of  type of object

closed #17209

Co-authored-by: zhangdong <a80369@gree.com.cn>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-07 15:45:48 +08:00
qiang
d9ec05749d refactor(components): [select] cancel type conversion at initialization (#17606)
* refactor(components): [select] cancel type conversion at initialization

* fix: options

* chore: optimized code

* docs: update
2024-08-07 11:53:48 +08:00
Aaron-zon
50ba6c2c77 fix(components): [select] with teleported="false" dropdown closes abnormally (#17548)
* fix(components): with teleported=false dropdown closes abnormally

* fix: test error

* fix: test error

---------

Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
2024-08-07 11:44:03 +08:00
wzc520pyfm
d94aa4cdb5 fix(components): [abort popper] fix effect type error (#17758)
closed #17751
2024-08-03 10:37:21 +08:00
qiang
506b5f84aa chore(components): [select] remove unused Input component (#17690)
* chore(components): [select] remove unused Input component

* chore: add nocheck
2024-07-29 08:23:46 +08:00
qiang
233d38b631 refactor(hooks): rewrite composition as a composable function (#14240)
* refactor(hooks): rewrite composition as a composable function

* fix(components): [select] avoid navigateOptions when composing Chinese

* fix: error

* chore: change afterComposition
2024-07-28 21:11:20 +08:00
btea
68fe36ba38 fix(components): [select] exceeding the limit will still trigger update (#17685)
* fix(components): [select] exceeding the limit will still trigger update

* fix: update
2024-07-27 15:51:59 +08:00
久染 | JiuRan
122b2fda82 fix: popper content type check (#17040)
* fix: popper content type check

* fix: code lint

* fix: effect type

* fix: all popper effect type

* fix: replace all EffectType

---------

Co-authored-by: Tong Siyuan <jiuran@jiurandeMacBook-Pro.local>
2024-07-22 17:33:02 +08:00
ntnyq
4a30d886a8 feat(components): [select & select-v2] add tag-effect prop (#17445) 2024-07-07 12:40:09 +08:00
Raphael Bernhart
03e8be2657 fix(components): fix iOS select click event listening (#16393)
iOS Safari does not handle click events when a mouseenter event is registered and a DOM-change
happens in a child. We use a Vue custom event binding to only register the event on non-iOS devices.
The inputHovering state gets updated now on iOS-devices on click. This is needed as the mouseenter
event normally does this.

closed #5210
2024-06-21 07:34:43 +08:00
btea
9f04072720 fix(components): [select] invalid name setting (#17127) 2024-06-08 19:24:03 +08:00
kooriookami
1148ccd2d6 feat(components): [select & select-v2] add label slot (#16960) 2024-05-28 14:50:22 +08:00
Liao-js
1f4ca71c7e fix(components): [select & select-v2] remove-tag when use backspace (#16832) 2024-05-21 16:51:00 +08:00
dopamine
2cba92fc82 fix(components): [select] isDisabled is not fresh (#16419)
* fix(components): [select] `isDisabled` is not fresh

* add a test case
2024-04-26 14:39:45 +08:00
Liao-js
261062859c fix(components): [select] group error when custom option component (#16621)
* fix(components): [select] group error when custom option component

* Update packages/components/select/src/option-group.vue

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* perf(components): [select] group flattedChildren

* perf(components): [select] group flattedChildren

* test(components): [select] group when custom option component case

---------

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
2024-04-25 15:34:43 +08:00
kooriookami
bd1613d599 feat(hooks): add use-aria hooks (#16598)
* feat(hooks): add use-aria hooks

* feat(components): update

* feat(hooks): update

* feat(hooks): update
2024-04-23 13:56:44 +08:00
赵添
ff9771bca8 fix(components): [select & select-v2] fix filterable double click error (#16456)
* fix(components): [select & select-v2] fix filterable double click error

* fix: test error
2024-04-12 13:49:40 +08:00
kooriookami
1163d27f71 feat(components): add empty-values and value-on-clear props (#16361)
* feat(components): add empty values

* feat(hooks): update

* feat(components): update

* feat(components): update

* feat: update

* feat(components): update

* feat(components): update

* feat(components): update

* feat: update doc

* feat: add doc
2024-04-12 13:33:21 +08:00
kooriookami
fd823cd9c6 fix(components): [select] fix error in low versions of vue (#16234)
fix(components): [select] fix error in low version of vue
2024-03-26 12:14:36 +08:00
kooriookami
4165e12c17 fix(components): [select & select-v2] click toggleMenu add prevent (#16149)
fix(components): [select-v2] click prevent
2024-03-18 09:49:42 +08:00
sea
9bf586fe2d fix(components): [select] stop the click event propagation of header/footer slot (#16151)
fix(components): select slot click header/footer add stop
2024-03-17 11:12:27 +08:00
kooriookami
047180899f feat(components): [select & select-v2] support empty string dynamically (#15995)
* feat(components): [select & select-v2] support empty string dynamically

closed #15994

* feat(components): update

* feat(components): update test

* feat(components): update

* feat(components): update
2024-03-01 13:53:06 +08:00
kooriookami
d8a9f902b2 chore(components): clear deprecated API (#15922)
* chore(components): clear deprecated API

* docs: update
2024-02-28 12:42:17 +08:00
kooriookami
5cf6f775c6 perf(components): [select & select-v2] optimize performance (#15962)
closed #15932
2024-02-28 12:41:56 +08:00
赵添
f33979d228 feat(components): [select] & [select-v2] add fallbackPlacements prop (#15765) 2024-02-05 17:16:18 +08:00
赵添
4c5d8ce6ef fix(components): [select] el-option-group error when el-option in a component (#15703)
* fix(components): [select] el-option-group error when el-option in a comp

* test(components): [select] add a test
2024-01-31 10:40:05 +08:00
kooriookami
4b56cf68f6 fix(components): [select] Fix value with value-key not selected (#15681)
* fix(components): [select] Fix value with value-key not selected

* test(components): add test

* test(components): update
2024-01-30 09:40:49 +08:00
nigi
1f6537af4c fix(components): [select] Remote search does not show menu when it has options and no query (#15683)
* fix(components): [select] Remote search does not show menu

* fix(components): fix remote search menu issue without a query
2024-01-26 10:19:35 +08:00
wzc520pyfm
0d3ece03c8 fix(components): [select & select-v2] select can't delete input val (#15607)
closed #15604
2024-01-22 13:04:03 +08:00
kooriookami
feb169fe93 feat(components): [select & select-v2] Add loading slot (#15540)
* feat(components): [select & select-v2] Add loading slot

* feat(components): update
2024-01-18 12:23:41 +08:00
kooriookami
f8f9620bdb fix(components): [select] Fix input key event (#15544)
closed #15536
2024-01-17 10:30:15 +08:00
赵添
a01b05d39c fix(components): [select] style break change in multiple collapseTags (#15460)
* fix(components): [select] style break change in multiple collapseTags

* fix(components): [select-v2] style break change in multiple collapseTags

* fix(components): [select & select-v2] popover updated
2024-01-15 15:43:17 +08:00
kooriookami
1afb276ddd fix(components): [select select-v2] fix input click event (#15462)
* fix(components): [select] fix input click event

* fix(components): update
2024-01-12 16:04:53 +08:00
xiaoming
479c25b5fa perf(components): [select & selectV2] hide collapse-tags-tooltip when dropdown (#15478)
perf(components): [select & selectV2] hide tags-tooltip when dropdown
2024-01-12 15:57:41 +08:00
xiaoming
b954b033f9 fix(components): [select] exposes blur invalid (#15450) 2024-01-11 14:45:43 +08:00
kooriookami
e7c1b53da3 fix(components): [select] Fix value bind object and trigger twice in form label (#15449)
* fix(components): [select] Fix value bind object

* fix(components): update

* fix(components): update
2024-01-11 14:45:23 +08:00
xiaoming
018f22f36c fix(components): [select] remove redundant named slots (#15441)
* fix(components): [select] remove redundant named slots

* chore: update
2024-01-11 14:37:20 +08:00