kooriookami
e0e5e8f303
fix(components): [select-v2] fix scroll position when using props ( #20788 )
2025-05-20 11:43:30 +08:00
知晓同丶
5490bedf85
fix(components): [select-v2] tooltipRef maybe undefined ( #20688 )
...
closed #20687
2025-05-09 14:07:16 +08:00
Liao-js
ea2c42783e
fix(components): [select-v2] label error when multiple and remote ( #20668 )
...
* fix(components): [select-v2] label error when multiple and remote
* fix: test case
2025-05-09 09:29:18 +08:00
betavs
ec6e0c51a5
fix(components): [select] update selection width calculation ( #20615 )
...
* fix(components): [select] update selection width calculation
* fix(components): [select-v2] update selection width calculation
2025-05-01 18:23:23 +08:00
kooriookami
498acc321b
fix(components): [select-v2] fix fit-input-width ( #20509 )
...
* fix(components): [select-v2] fix fit-input-width
* fix(components): [select-v2]
* fix(components): update
* fix(components): update
2025-04-27 16:05:24 +08:00
betavs
3a3db6e564
refactor(components): use built-in methods to check for undefined and null ( #20537 )
...
style(components): check the undefined type for unification
2025-04-24 22:51:58 +08:00
betavs
5f519a6f25
refactor(components): unify append-to prop type across multiple components ( #20501 )
...
* fix(components): [select] update `append-to` prop type
* fix(components): unify `append-to` prop type across multiple components
* docs: update `append-to` prop type
2025-04-22 09:29:19 +08:00
Egor Rakutov
ea904eb105
fix(components): [el-select-v2] u-tag sync with :model-value ( #20306 )
...
* fix(components): [el-select-v2] u-tag sync with :model-value
* fix: tests, isArray
* fix: remove useless logic
* fix: single select, tests
2025-04-17 15:43:45 +08:00
Feynman
ee13188cca
feat(components): [select-v2] add suffix-icon prop with default ArrowDown ( #20370 )
...
* feat(components): [select-v2] add suffixIcon prop with default ArrowDown
- Introduced a new `suffixIcon` prop to allow customization of the icon in the select component.
- Updated the icon rendering logic to utilize the `suffixIcon` prop instead of a hardcoded value.
* feat(docs): [select-v2] add suffix-icon prop for custom icon support
- Added a new `suffix-icon` prop to the select component, allowing users to customize the suffix icon.
- Updated documentation to reflect the new prop and its default value.
* chore: add version
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-04-09 08:10:30 +00:00
Haceral
642946e4fd
fix(components): [select, select-v2] blur validate not executed ( #20232 )
2025-03-30 13:59:28 +08:00
Egor Rakutov
a3e774e12c
fix(components): [el-select-v2] use :model-value without changes ( #20149 )
...
fix(components): [el-select-v2] model-value bug
2025-03-18 16:33:19 +08:00
dopamine
7be4a3765e
chore: emits smaller declaration files ( #20109 )
...
* Revert "fix(types): packing unexpected types (#19419 )"
This reverts commit 13506ffb81 .
* Revert "chore: add explicit type annoation (#19352 )"
* fix(typescript): borken import paths in declaration files
* chore: emits smaller declaration files
2025-03-18 10:08:44 +08:00
sea
434208c9ad
fix(components): [select-v2] option need double click in IOS ( #20041 )
...
* fix(components): [select-v2] option need double click in IOS
* chore: format
2025-03-07 11:13:07 +08:00
DDDDD12138
87e3d1d400
fix(components): [select-v2] allow propagation of non-control key events in custom options ( #19984 )
...
fix: allow propagation of non-control key events in custom options
2025-02-27 22:09:14 +08:00
DDDDD12138
3ef10ec5b8
perf(components): [select-v2] optimize to avoid unnecessary computations ( #19970 )
...
* perf: avoid redundant property checks and regex constructions
* perf: optimize allOptions handling and introduce hasOptions
* feat: update 'allOptions' type
2025-02-26 16:45:01 +08:00
Lo
6bc45440f8
feat(components): [select, select-v2] add loading class to validateIcon ( #19379 )
...
fix(components): [select, select-v2] add loading class to validateIcon
2025-01-02 18:02:46 +08:00
qiang
1ca9d9c3fa
fix(components): [select] input width fills the remaining width ( #19292 )
...
* fix(components): [select] input width fills the remaining width
closed #17886
* fix: type
2025-01-02 13:41:13 +08:00
伊墨
2c9d70dc94
feat(components): [select-v2] add fit-input-width prop ( #18834 )
...
* feat(components): [select-v2] add `width` prop
* feat(components): [select-v2] change `width` prop to `fit-input-width`
* docs(components): add description
* test(components): [select-v2] fix errors caused by canvas
* chore(components): optimize code and change documents
Co-authored-by: thinkasany <480968828@qq.com >
Co-authored-by: btea <2356281422@qq.com >
* feat: [select-v2] listen for `fit-input-width`
* fix: change the default value of the `fit-input-width` prop
* fix: the width did not change when remote search or creating temporary option
* docs: change document and example code
---------
Co-authored-by: thinkasany <480968828@qq.com >
Co-authored-by: btea <2356281422@qq.com >
2024-12-24 16:39:43 +08:00
btea
21964f6769
chore: add explicit type annoation ( #19352 )
...
* chore: add explicit type annoation
* chore: update
* chore: update
2024-12-23 13:15:20 +08:00
Liao-js
e17ec9a8a8
fix(components): [select-v2] empty value check error in inputRef ( #19140 )
...
* fix(components): [select-v2] empty value check error in inputRef
* test(components): [select-v2] empty value check error in inputRef
* fix: test case
2024-12-09 17:04:29 +08:00
wzc520pyfm
718ffcfb85
chore(components): improve type for popper effect ( #17860 )
...
* chore(components): improve type for popper effect
Abort #17758 #17751 #17040 #17030
* chore: use `NonNullable<unknown>` instead of `{}`
* chore(components): extract a common type for popper effect
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-12-05 09:44:47 +08:00
qiang
990aa4b768
feat(components): [select] add tabindex attribute ( #19034 )
2024-11-28 13:54:05 +08:00
btea
ad2f8507a0
fix(components): [select] the disabled state should render the input tag ( #18443 )
...
* fix(components): [select] the disabled state should render the input tag
* fix: sync select
2024-11-22 22:40:47 +08:00
Manshu Tusker
0cc526e1c1
fix(components): [select-v2] resolve overlap of tags and placeholder ( #18388 )
...
* fix(components): [select-v2] resolve overlap of tags and placeholder
closed #18382
* Update packages/components/select-v2/src/useSelect.ts
ok
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: btea <2356281422@qq.com >
2024-11-14 21:24:48 +08:00
qiang
343cacf5cc
fix(components): numpadEnter does not work like the Enter ( #18855 )
2024-11-14 21:14:51 +08:00
蓝桥春雪
62bade4fda
fix(components): [select & select-v2] status-icon is invalid ( #18101 )
...
fix(components): [select & select-v2] The check result icon is still displayed when status-icon is false
Co-authored-by: 蓝桥春雪 <yj.wang3@sinitek.com >
2024-11-12 20:17:29 +08:00
DDDDD12138
4f04bcd46f
feat(components): [select] add offset and show-arrow prop ( #18837 )
...
feat: add show-arrow prop to control dropdown arrow visibility
2024-11-11 17:10:48 +08:00
btea
906141b4d2
improvement: [select] optimize the effect of keyboard switching options ( #18773 )
...
* improvement: [select] optimize the effect of keyboard switching options
* fix: apply to select-v2
2024-11-07 21:57:38 +08:00
btea
6b5c12b275
feat(components): [select-v2] add append-to prop ( #18798 )
...
* feat(components): [select-v2] add `append-to` prop
* docs: update
2024-11-06 08:59:28 +08:00
betavs
247d29cf9a
fix(components): [select-v2] data echo abnormality ( #18334 )
2024-10-17 09:42:33 +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
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
dopamine
cd517d6743
chore(components): [select-v2] remove ts-nocheck comments in select-v2 ( #16746 )
...
* chore: remove ts-nocheck comments in select-v2
* take the review comments
* improve emits type
* the keys of emits use camelCase instead of kebab-case
* apply suggestions from code review
Co-authored-by: btea <2356281422@qq.com >
* reduce duplicate ESLint comments
* use more succinct syntax to define props
* revert emits to kebab-case
* fix: type checking failed
* chore: illustrate why return early in validateIcon
* fix: signature with duplicate parameter names
Co-authored-by: qiang <qw13131wang@gmail.com >
---------
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-09-23 13:45:35 +08:00
btea
c4f7e27bdd
fix(components): [select-v2] label display error when re-rendering ( #18128 )
...
* fix(components): [select-v2] label display error when re-rendering
* fix: update
2024-09-10 15:53:11 +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
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
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
dopamine
79938178dd
build: use vue-tsc to generate dts ( #16111 )
...
* build: use vue-tsc to generate dts
* reduce inline type declaration
* fix: type checking failed
* apply suggestions from code review
* address PR comments
2024-08-07 12:01:46 +08:00
wzc520pyfm
d94aa4cdb5
fix(components): [abort popper] fix effect type error ( #17758 )
...
closed #17751
2024-08-03 10:37:21 +08:00
wzc520pyfm
a9b91d1f0f
fix(components): [select-v2] corrent focus to input when select clicked ( #17362 )
...
* fix(components): [select-v2] fix remote init
remote-search scenarios shoule be not initialized
* Revert "fix(components): [select-v2] fix remote init"
This reverts commit d8326888e3df96dee482b9c8098738bc698215af.
* fix(components): [select-v2] no trigger init-states when filter/remote
* test(components): [select-v2] add test for no init when remote search
* fix(components): [select-v2] add back the necessary condition
* fix(components): [select-v2] correct input focus
input shoule be fouce when click el-select
* fix(components): [select-v2] focus first and then completed taggle-menu
2024-07-30 10:49: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
久染 | 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
guetHe
db0fec864a
fix(components): [select-v2] with teleported="false" dropdown closes abnormally ( #16714 )
...
fix(components): with teleported="false" dropdown closes bug
Move toggleMenu click event to the right place wrapperRef
Only wrapperRef can control tooltip content visble or not
closed #16653
2024-06-20 08:01:05 +08:00
kooriookami
f57b10c2ba
style(components): [select & select-v2] remove split dash ( #17009 )
...
* style(components): [select & select-v2] remove split dash
* feat(components): update
2024-05-28 16:35:46 +08:00
kooriookami
1148ccd2d6
feat(components): [select & select-v2] add label slot ( #16960 )
2024-05-28 14:50:22 +08:00