Haceral
642946e4fd
fix(components): [select, select-v2] blur validate not executed ( #20232 )
2025-03-30 13:59:28 +08:00
dopamine
38cbfbb0b0
chore: [select] remove @ts-nocheck directive ( #19098 )
...
* chore: [select] remove @ts-nocheck directive
* Update packages/components/select/src/option.vue
Co-authored-by: qiang <qw13131wang@gmail.com >
* chore: delete useless type
* Update packages/components/select/src/useSelect.ts
Co-authored-by: qiang <qw13131wang@gmail.com >
* fix: type error
* fix: type error
* chore: use buildProps
* chore: add type
* Update packages/components/select/src/useSelect.ts
Co-authored-by: btea <2356281422@qq.com >
* chore: fix type
* chore: fix type
* chore: fix types
---------
Co-authored-by: warmthsea <2586244885@qq.com >
Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com >
Co-authored-by: qiang <qw13131wang@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2025-03-29 17:58:52 +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
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
DDDDD12138
4ac22efb0d
fix(components): [select] ensure scrollbar syncs when scrolling to selected option ( #19636 )
...
* fix: ensure scrollbar syncs when scrolling to selected option
* feat: update scrollbar when drop-down menu is displayed
2025-02-19 21:30:51 +08:00
锌小子
6dddd4ed54
fix(components): [select] solve memory leak ( #19709 )
...
fix(components): solve memory leak
Watching the value of an attribute of an option can lead to a memory leak
closed #19680
Co-authored-by: 张东 <A80784@internet.com >
2025-02-16 10:24:46 +08:00
jiaxiang
82aedc86c7
feat(components): [select] add popup-scroll event ( #19589 )
...
* feat(components): [select] add popup-scroll event
* Update docs/en-US/component/select.md
Co-authored-by: btea <2356281422@qq.com >
* chore: format
---------
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: warmthsea <2586244885@qq.com >
2025-01-14 15:54:31 +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
DDDDD12138
85bd36d825
fix(components): [select] resolve 'false' display issue when dropdown hides on search clear ( #19244 )
...
fix(components): [select] eliminate 'false' on search clear
2024-12-14 11:16:16 +08:00
伊墨
c40eeb7551
fix(components): [select] modify the logic of update the watch option ( #18931 )
2024-12-10 13:53:07 +08: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
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
dopamine
976f5e5088
fix(components): [select] change states.filtertedOptionsCount to filteredOptionsCount.value ( #19010 )
2024-11-26 10:04:02 +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
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
蓝桥春雪
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
sea
84f5d6f13a
fix(components): [select] getValueIndex empty error ( #18867 )
...
* fix(components): [select] getValueIndex judgment error
* feat: update
2024-11-12 15:57:27 +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
dopamine
a2ea613317
refactor(components): [select] simplify code ( #18810 )
...
* refactor(componetns): [select] simplify code
* apply the suggestion from code review
2024-11-09 08:54:38 +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
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
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