Commit Graph

97 Commits

Author SHA1 Message Date
Rainbow
7d1f52127f fix(components): [select] loading appears on first click when remote (#22323)
* fix(components): [select] loading appears on first click when remote

* test: add test case
2025-10-09 23:00:06 +02:00
kooriookami
80850b4cb3 fix(components): [select] fix label not show when persistent is false (#22317)
* fix(components): [select] fix label not show when persistent is false

* fix(components): [select]

* fix(components): [select]

* fix(components): [select]
2025-09-26 13:45:31 +08:00
一只前端汪
3d7fcdadab fix(components): [select/v2] width of drop-down panel exceeds the input (#21910)
* fix(components): [select/V2] width of dropdown panel exceeds the input

* fix(components): [select/V2] width of drop-down panel exceeds the input

* fix: select constants

* fix: select

---------

Co-authored-by: 2586740555 <15972343+CYJ090915@user.noreply.gitee.com>
2025-08-29 15:10:36 +08:00
Noblet Ouways
853df25476 feat(components): [select/v2] add index to label slot (#21884)
* feat(components): [select/v2] add index to label slot

* chore: simplify

Co-authored-by: btea <2356281422@qq.com>

* chore: fix edge cases

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-25 18:49:02 +02:00
Noblet Ouways
7644c1fe4a feat(components): [cascader/select/date-picker] add popper-style (#21807)
* feat(components): add popper style

* test: enforce ci passing

* chore: handle select-v2 & apply review

Co-authored-by: btea <2356281422@qq.com>

* chore: bump for select component

---------

Co-authored-by: btea <2356281422@qq.com>
2025-08-21 10:46:06 +02:00
Noblet Ouways
c83b99d2f2 feat(components): unify clear btn display on focus (#21732)
* feat(components): unify clear btn display on focus

* test: add tests

* chore: apply review
2025-08-18 10:54:32 +02:00
qiang
826373a133 fix(components): [select] click outside should lose focus (#21702)
* fix(components): [select] click outside should lose focus

* chore: add test
2025-08-11 14:44:03 +08:00
snowbitx
dbbacae7d1 feat(components): [select] support options prop rendering (#21203)
* feat(components): [select] support options prop rendering

* feat(components):[select] format

* feat(components):[select] format

* Update packages/components/select/src/select.vue

Thanks for the guidance!

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* Update packages/components/select/src/select.vue

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* Merge remote-tracking branch 'upstream/dev' into feat/autocomplete-size

* feat(components): [select] format

* feat(components): [select] Add test case

* feat(components): [select] Add doc

* Update packages/components/select/src/select.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* feat(components): [select] Code optimization

* feat(components): [select] Code optimization

* feat(components): [select] format

* feat(components): [select] format

* docs: refact

* refactor: simplify

* chore: useless diff change

* Update shared.ts

* Update message.ts

* Update popper.ts

* Update result.ts

* Update form-item.ts

* Update cascader-panel.test.tsx

* chore: useless change

* Update select.vue

* Update option.vue

* Update select.vue

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
Co-authored-by: Dsaquel <291874700n@gmail.com>
2025-07-29 09:54:30 +08:00
Noblet Ouways
4f8cca0f6c feat(components): [select/select-v2/cascader] expose more tag options (#21157)
* feat(components): [select/select-v2] bind `data` for tag slot

* chore: remove console.log

* feat: expose `deleteTag` aswell

---------

Co-authored-by: warmthsea <2586244885@qq.com>
2025-06-29 13:17:20 +00:00
baozj
524f901045 feat(components): [select] expose selectDisabled prop to #tag slot (#21093)
* feat(components): [select] expose selectDisabled prop to #tag slot

* feat(components): [select] expose selectDisabled and update docs

* feat(components): [select-v2] expose selectDisabled to #tag slot

Add example demonstrating how to use selectDisabled in custom tag rendering.

* docs(components): [select, select-v2] add selectDisabled to #tag slot

* docs(components): [select, select-v2] remove tag-disabled.vue examples

---------

Co-authored-by: baozhangjie <jay.bao@photonpay.com>
2025-06-29 20:59:04 +08:00
btea
880de62fee fix(components): [tree-select] value label rendering error (#20947)
* fix(components): [tree-select] value label rendering error

* Update packages/components/select/src/select.vue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: update

* fix: update

* fix: lint

* test: case

* fix: lint

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-11 21:37:04 +08:00
Jeff
6f8e91f771 refactor(components): [select] modify manuallyRenderSlots execute (#20854)
* refactor(components): [select] modify `manuallyRenderSlots` execute

* refactor(components): [select] modify ’manuallyRenderSlots‘ execute

* fix(components): [select] fix render slots attempt when persistent=false

* fix: remove duplicate judgments

---------

Co-authored-by: Dsaquel <291874700n@gmail.com>
Co-authored-by: btea <2356281422@qq.com>
2025-06-06 08:56:35 +08:00
伊墨
b31e727edd fix(components): [select] display exception when label is 0 or "" (#20905)
* fix(components): [option] display exception when label is `0` or `""`

* test: add test case
2025-06-03 01:07:37 +00:00
btea
433b622aee refactor: rename test env (#20816) 2025-05-22 16:17:15 +08:00
btea
8ddbb1d85a fix(components): [select] select value label rendering error (#20769)
* fix(components): [select] select value label rendering error

* chore: comment

* fix: update

* fix: update

* feat: manual render

* refactor: immediate watch

* test: update

* test: with multiple
2025-05-21 13:54:59 +08:00
Noki
f31d3b6d0c fix(components): [select] typed value causes default-first-option to fail (#19806)
* fix(components): [select] default-first-option

* fix(components): [select] watch optionArray ref

* test(components): [select] add default-first-option

* test(components): [select] remove only

* test(components): [select] use remote-method

* fix(components): [select] add condition for optionsArray loop

* fix(components): [select] remove condition for optionsArray loop
2025-03-11 15:24:07 +00:00
dopamine
be43878d2f fix(components): [select] use option.isDisabled as the source of truth (#19137)
* fix(components): [select] use option.isDisabled as the source of truth

* add one test case
2024-12-05 19:56:02 +08:00
qiang
990aa4b768 feat(components): [select] add tabindex attribute (#19034) 2024-11-28 13:54:05 +08:00
Aaron-zon
2bef172a07 test(components): fix test cases in select.test.ts (#18969) 2024-11-21 20:30:33 +08:00
sea
300b58c548 fix(components): [select] keep the selected label (#18549)
* fix(components): [select] keep the selected label

* style: op code & fix eslint warn

* fix: update

* feat: update cu
Co-authored-by: dopamine <coderzyou@gmail.com>

* feat: update cu

Co-authored-by: dopamine <coderzyou@gmail.com>

* feat: update cu

Co-authored-by: dopamine <coderzyou@gmail.com>

* update select.test.ts

Co-authored-by: dopamine <coderzyou@gmail.com>

* chore: delete useless code

---------

Co-authored-by: dopamine <coderzyou@gmail.com>
2024-11-17 14:06:44 +08:00
Zhong
d59acf696e fix(components): [select] prevent keyboard from deleting disabled option (#18752)
* fix(components): [Select] prevent backspace from delete disabled option

* fix(components): [select] prevent keyboard from deleting disabled option
2024-11-04 15:32:33 +08:00
qiang
a6430f5b98 fix(components): [select] error parameters of getValueIndex (#14173)
* fix(components): [select] error arguments of getValueIndex

closed #14139 #18247

* test: fix test

* style(components): [select] optimize code format
2024-10-29 14:43:24 +08:00
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
tangyongjie
271385f6a5 test(components): [select] fix test warning (#18211) 2024-09-07 07:54:26 +08:00
qiang
8e6b88dcca revert(components): [select] cancel type conversion at initialization (#18088)
closed #17944
2024-09-03 15:20:46 +08:00
wzc520pyfm
c90ebf8ca4 test(components): [select] add case for disabled and automatic-dropdown (#18112) 2024-09-01 08:02:55 +08:00
qiang
044f0afc1e fix(components): [select] switching single/multiple generates an error (#18030)
closed #17890
2024-08-29 19:06:41 +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
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
sleepyShen1989
203f76b0eb test(components): [select] fix option type warning (#17020) 2024-05-30 18:47:18 +08:00
久染 | JiuRan
4c3c81e3d6 test(component): select remove-tag event triggered by keydown.delelte (#16840)
* fix: select deletePrevTag emit remove tag event

* fix: test case

* fix: select-v2 handleDel

* test: select-v2 test case

* fix: test case index

* chore: remove emit event

---------

Co-authored-by: btea <2356281422@qq.com>
2024-05-21 16:58:32 +08:00
dopamine
441e07edbb test(components): [select] modify the grouping of several test cases (#16824)
chore: modify the grouping of several test cases
2024-05-12 11:43:17 +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
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
赵添
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
wzc520pyfm
b5b160d7e0 test(components): [select] adjust case for refactored select (#15551) 2024-01-16 22:29:08 +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
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
kooriookami
5844947198 refactor(components): [select & select-v2] Refactor components (#15352)
* refactor(components): [select&select-v2] refactor components

* refactor(components): [select-v2]

* refactor(components): update

* refactor(components): update

* refactor(components): [select-v2]

update

* refactor(components): update

* refactor(components): update

* refactor(components): update type

* refactor(components): update

* refactor(components): update

* refactor(components): update style

* refactor(components): update docs

* refactor(components): update

* refactor(components): fix #15323

* refactor(theme-chalk): update

* refactor(components): update

* refactor(components): update

* refactor(components): update

* refactor(components): fix bugs

* fix(components): fix issue

* fix(components): update

* fix(components): fix some bug

* feat(components): update

* feat(components): add tag slot

* feat(components): update

* fix(components): update

* style(theme-chalk): update style

* fix(theme-chalk): update

* feat(theme-chalk): update

* fix(components): update

* feat: update

* feat: update

* feat: update

* feat(components): update
2024-01-10 11:14:58 +08:00
Fuphoenixes
4580aea8e4 fix(components): [select] style error in multiple collapseTags (#14602) 2023-11-11 21:27:35 +08:00
qiang
ca8846c532 feat(components): [select] accessibility enhancement (#14503)
* feat: accessibility enhancement

* fix: adjusting the attributes of Scrollbar

* Update docs/en-US/component/scrollbar.md

Co-authored-by: btea <2356281422@qq.com>

* docs: updata

* fix(components): [select] aria-selected error

---------

Co-authored-by: btea <2356281422@qq.com>
2023-10-12 09:29:00 -05:00
wzc520pyfm
6cc5892672 fix(components): [select] fix hover index error when creating option (#12635)
* fix(components): [select] fix error when creating option

closed #12634

* test(components): [select] add test for create and default first option

* fix(components): [select] compatible #11297
2023-08-31 11:22:01 +08:00
inottn
1211312491 fix(components): [select] fix the logic of updating selected data (#13374)
* fix(components): [select] fix the logic of updating selected data

* chore: improve judgment condition
2023-08-23 21:00:31 +08:00
井柏然
067028ba3c fix(components): [select] backspace delete disabled option (#11995)
* fix(components): [select] backspace delete disabled option

* fix(components): [select] findLastIndex

* fix(components): [select] simple polyfill findLastIndex in test file

* fix(components): [select] add test for backspace

* chore: lint
2023-08-13 21:41:13 +08:00