Noblet Ouways
bce22dd10d
fix(components): allow null type on empty-values components ( #21582 )
...
* fix(components): allow null type on empty-values components
* refactor(hooks): [empty-values]: allow plain null for `value-on-clear`
2025-08-01 12:27:19 +02:00
Noblet Ouways
907b7b2766
feat(components): [cascader] add check-on-click-leaf attribute ( #21508 )
...
* feat(components): [cascader] add `check-on-click-leaf` attribute
* chore: chore
2025-08-01 10:31:17 +08:00
Zhong
ffbb9e49ad
feat(components): [cascader] add effect prop ( #21507 )
...
* feat(components): [cascader] add effect prop
* fix(components): [cascader] use light as the default value
2025-07-27 20:54:33 +08:00
zepeng
d688af16b0
feat(components): [cascader] add show-checked-strategy prop ( #16922 )
...
* feat(components): [cascader] add showCheckedStrategy prop
* fix(components): [cascader] fix props
* feat(components): [cascader] add `show-checked-strategy` documentation
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* fix(components): [cascader] replace inline props with variables
---------
Co-authored-by: btea <2356281422@qq.com >
2025-07-24 21:27:38 +02:00
Zhong
283fa72bc9
feat(components): [cascader] add header and footer slot ( #21486 )
...
* feat(components): [cascader] add header and footer slot
* docs(components): [cascader] simplify the code
* docs(components): [cascader] merge header and footer example
* docs(components): [cascader] add clear case
2025-07-24 12:03:41 +00:00
snowbitx
7ec0f3a442
feat(components): [cascader] add checkOnClickNode and prefix prop ( #21089 )
...
* feat(components): [cascader] Hide radio in single mode
* feat(components): [cascader] Renamed prop to \`selectOnClick\`
* feat(components): [cascader] Update doc
* feat(components): [cascader] Adjust how data is fetched
* feat(components): [cascader] update type
* Update packages/components/cascader-panel/src/node-content.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* feat(components): [cascader] Merge and fix v-model bug
* feat(components): [cascader] Renamed to checkOnClickNode
* feat(components): [cascader] Renamed to checkOnClickNode
* feat(components): [cascader] merge
* feat(components): [cascader] Add a check
* feat(components): [cascader] Add test case
* feat(components): [cascader] Fix type error
* feat(components): [cascader] Add checkOnClickNode, showRadio props
* feat(components): [cascader] Update doc
* Update packages/components/cascader/src/cascader.ts
Done, thanks!
Co-authored-by: btea <2356281422@qq.com >
* fix: showRadio defaults checkOnClickNode
* test: showRadio fallback behavior
* refactor: rename prop and support checkOnClickNode for multiple mode
* doc:update
* Update packages/components/cascader-panel/src/config.ts
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* docs: tweak props
* docs: update doc
* chore: update doc & fix toggle check
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
Co-authored-by: btea <2356281422@qq.com >
* Update cascader-panel.test.tsx
---------
Co-authored-by: WANGXIAOYU1995 <109521682+WANGXIAOYU1995@users.noreply.github.com >
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: btea <2356281422@qq.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
2025-07-22 17:23:20 +08:00
btea
7b6858374a
fix(components): [cascader] dynamic options render error ( #21405 )
...
* fix(components): [cascader] dynamic optios render error
* fix: remove debugger
* fix: update
* test: dynamic options
2025-07-19 03:21:57 +02:00
Zhong
58a5852d2d
refactor(components): improve component boolean type ( #21260 )
2025-07-06 14:56:17 +02: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
jiaxiang
29f5783d81
refactor(components): [cascader-panel] remove @ts-nocheck and optimize code ( #20014 )
...
* refactor(components): [CascaderPanel] remove tsnocheck and optimize code
* chore: chore
* revert: revert
* chore: add menu type
* chore: remove tsnocheck
* revert: revert
* revert: revert
* refactor: use setup syntax
* fix: type
* chore: add line
* chore: chore
* chore: add update:modelValue Events
* chore: format
* chore: revert
* chore: chore
* fix: error
* chore: remove any and code loss
* fix: code loss
* fix: code loss
---------
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-23 17:09:40 +08:00
WANGXIAOYU1995
4f56d01f04
feat(components): [cascader] add tag slot ( #20994 )
...
* feat(components): [cascader] add showFirstOnly to show top-level label
* feat(components): [cascader] add unit test cases
* Revert "feat(components): [cascader] add unit test cases"
This reverts commit 8cbb9d44ee .
* Revert "feat(components): [cascader] add showFirstOnly to show top-level label"
This reverts commit 5ca520dff8 .
* feat(components): [cascader] Added a new slot `tag`
* Revert "feat(components): [cascader] Added a new slot `tag`"
This reverts commit 99062da169 .
* feat(components): [cascader] Added a new slot `tag`
* feat(components): [cascader] Optimize slot and update doc
* Update packages/components/cascader/src/cascader.vue
Good catch, committed.
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update docs/en-US/component/form.md
Sure, I’ve committed the suggestion. Thanks again!
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* feat(components): [cascader] Add test case
* feat(components): [cascader] update to expose tree node info
* feat(components): [cascader] update 'presentTags' and docs
* feat(components): [cascader] optimize code
* feat(components): [cascader] update doc
* feat(components): [cascader] update function name
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
* chore: minor tweaks
* feat(components): [cascader] Update test case
* docs: update Cascader Slots
---------
Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com >
Co-authored-by: Dsaquel <291874700n@gmail.com >
Co-authored-by: warmthsea <2586244885@qq.com >
2025-06-18 15:51:59 +00:00
Noblet Ouways
2f17df1209
style(eslint-config): newline before import type ( #21036 )
...
* perf: change to import-x
* feat: add rules
* chore: fix rule
* chore: fix
* chore: fix
* chore: fix
* style: `pnpm lint:fix`
* Revert "style: `pnpm lint:fix`"
This reverts commit db0116a288 .
* Revert "chore: fix"
This reverts commit 69c82a90c0 .
* chore: fix
* style: `pnpm lint:fix`
* fix: lint
* chore: `pnpm format`
2025-06-16 15:37:12 +08:00
Robert Zeng
0d466303c0
feat(components): [cascader]add a props to control tooltip maxHeight ( #20933 )
...
* feat(components): [cascader]add a props to control tooltip maxHeight
* fix(components): [cascader] fix max-height setting of scrollbar
* docs(components): [cascader]add props maxCollapseTagsTooltipHeight docs
* feat(components): [cascader]add unit test
* feat(components): [cascader]remove extra logic of max tooltip height
* fix(components): [cascader]remove props defalut value
* docs(components): [cascader]add version for the new props
Co-authored-by: btea <2356281422@qq.com >
* docs(components): [cascader]fix lint
* test(components): [cascader]optimize max height props test case
* test(components): [cascader]optimize component import
* Update packages/components/cascader/src/cascader.vue
* fix: lint
---------
Co-authored-by: btea <2356281422@qq.com >
2025-06-12 21:39:39 +08:00
Noblet Ouways
c493763f70
fix(components): [cascader-panel] check if children label are comments ( #20899 )
...
* fix(components): [cascader-panel] check if children label are comments
* refactor: better
* chore: fix type
Co-authored-by: dopamine <coderzyou@gmail.com >
* chore: fix type v2
Co-authored-by: btea <2356281422@qq.com >
* chore: review & test
Co-authored-by: btea <2356281422@qq.com >
---------
Co-authored-by: dopamine <coderzyou@gmail.com >
Co-authored-by: btea <2356281422@qq.com >
2025-06-04 12:19:49 +08:00
btea
1e0297b118
test(components): [cascader] with placelhoder pass empty string ( #20902 )
2025-06-02 10:20:08 +02:00
btea
0a85cc0a10
fix(components): [cascader] placeholder should be blank if pass a empty string ( #20896 )
...
fix(components): [cascader] placeholder should be blank if pass a empty
2025-05-30 16:47:03 +08:00
betavs
420d4ff75c
fix(components): [cascader] safeguard arrow modifier access in popper options ( #20732 )
...
fix(components): [cascader] safeguard arrow modifier
2025-05-14 06:31:48 +00: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
b2a1da6bfe
fix(components): [cascader] prevent default behavior when pressing a key to toggle suggestion list ( #19897 )
...
fix(components): [cascader] suggestion key-down scroll warn
2025-02-18 18:42:39 +08:00
DiamondYuan
7700838ed3
feat(components): [cascader] add suggestion slot ( #19866 )
...
* feat(components): [cascader] add suggestion-item slot
* docs: add version to suggestion item slot demo
Co-authored-by: btea <2356281422@qq.com >
* Update docs/en-US/component/cascader.md
---------
Co-authored-by: btea <2356281422@qq.com >
2025-02-18 11:37:18 +08:00
David Kitano
40a616ea1a
feat(components): [cascader] add prefix slot ( #19631 )
...
* feat(components): [cascader] add prefix slot
* docs(components): [cascader] add preview slot
* Revert "docs(components): [cascader] add preview slot"
This reverts commit 1a40ca13ea .
* docs(components): [cascader] revert for typo
* fix(components): do not render prefix if prefix slot is not used
* docs(components): [cascader] prefix version number added
Co-authored-by: btea <2356281422@qq.com >
* docs(components): [cascader] format docs
---------
Co-authored-by: btea <2356281422@qq.com >
2025-01-18 09:23:33 +08:00
jiaxiang
8942354083
fix(components): [cascader] multiple selection mode tag causes height change ( #18285 )
...
* fix(style): [cascader] fix style
* fix(style): [cascader] gap
* fix: update
* style: update
* fix: update
* style: update
* fix: update
* style: update
* style: update
2024-11-22 22:18:41 +08:00
qiang
343cacf5cc
fix(components): numpadEnter does not work like the Enter ( #18855 )
2024-11-14 21:14:51 +08:00
0song
7a1a6a304b
feat(components): [cascader] update cascader component to expost presentText ( #18338 )
...
* fix: update cascader component to expost presentText
* chore: update
* chore: update
2024-09-24 14:09:24 +08:00
btea
ca677519b9
feat(components): [cascader-panel] add empty slot ( #16274 )
...
* feat(components): [cascader] add `empty-panel` slot
* chore: update version tag
* chore: update
* feat: rename empty-panel to empty
* chore: format
* test: add test case
* test: update
* Update docs/en-US/component/cascader.md
2024-09-13 09:34:40 +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
btea
e608456ad2
feat(components): [cascader] support placement & fallback-placements ( #17840 )
2024-08-12 09:10:58 +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
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
Manshu Tusker
f974ea5d81
fix(components): [cascader] failed to retrieve value when value is 0 ( #17651 )
...
* fix(components): correct data display in Cascader
Resolved an issue where certain falsy values, such as 0, were incorrectly treated as undefined in
data processing and validation logic, ensuring accurate handling and display across all components.
closed #17647
* revert(other): do not submit pnpm-lock.yaml
do not submit pnpm-lock.yaml.
2024-07-25 14:10:39 +08:00
ntnyq
8f9d512129
feat(components): [cascader] add tag-effect prop ( #17443 )
...
* feat(components): [cascader] add `tag-effect` prop
* docs: sync version tag
Co-authored-by: qiang <qw13131wang@gmail.com >
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2024-07-20 08:55:15 +08:00
ntnyq
cd3d58f07c
fix(components): [cascader] reactive prop collapse-tags ( #17449 )
...
feat(components): [cascader] reactive prop `collapse-tags`
2024-07-19 14:57:57 +08:00
0song
38a4b0ac8c
feat(components): [cascader] add persistent props to cascader to improve performace ( #17526 )
...
* feat: add persistent props to cascader to improve performace
* chore: update doc
2024-07-15 21:21:21 +08:00
sea
17fc769abd
feat(components): improve event and supplement docs ( #17150 )
...
* feat: improve event and supplement documentation
* feat: improve event and supplement documentation
* style: lint back old
* docs: autocomplate select event content back old
* docs: cascader clear event add version
* fix: delete redundant code
* feat: back old code
* feat: back old code
* feat: back old code
* chore: update version
2024-06-26 11:07:29 +08:00
sea / 神秘海
e35f403515
fix(types): non-null assertion component name ( #16804 )
2024-05-15 09:24:42 +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
btea
a8e622bac5
fix(components): [cascader] form nested causing clear icon invalid ( #16068 )
2024-03-12 21:52:51 +08:00
chenweiyi
013809f829
feat(components): [cascader] add max-collpase-tags prop ( #13386 )
...
* feat(components): add max-collapse-tags prop
show more than one tag in cascade when multiple enable and use collapse-tags true
* test(test-utils): add unit test for cascader prop 'max-collapse-tags'
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: btea <2356281422@qq.com >
* Update cascader.vue
* refactor(components): [cascader] style lint
---------
Co-authored-by: chenweiyi01 <chenweiyi01@zuoyebang.com >
Co-authored-by: btea <2356281422@qq.com >
2023-08-24 17:34:24 +08:00
井柏然
f93a9eb6cd
fix(components): [cascader] reactive size change ( #12294 )
...
* fix(components): [cascader] reactive size change
* fix(components): [cascader] update style after calc
* fix(components): [cascader] add test
* fix(components): [cascader] mock offsetHeight
* fix(components): [cascader] size type
* fix(components): [cascader] spy on getter for height
* fix(components): [cascader] mock css var
* fix(components): [cascader] add comment
2023-07-23 20:30:23 +08:00
dopamine
ee705e5c2d
chore: prevent warnings while running test cases ( #12189 )
...
* chore: prevent warnings while running test cases
* fix: overlook a test case
2023-07-22 23:19:33 +08:00
sleepyShen1989
340a9bb32c
test(components): [cascader] change way to get defineExpose data ( #13227 )
...
cascaderRef.value is undefined
closed #13226
2023-06-16 15:13:32 +08:00
btea
105d79b0d9
refactor: extract isClient and isNumber isBoolean ( #12504 )
...
* refactor: extract isClient and isNumber isBoolean
* test: update test
* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
Xc
7059ed1fc7
fix(components): [cascader] clickoutside ( #11997 )
...
* fix(components): [cascader] clickoutside
* fix(components): [cascader] clickoutside
* fix(components): [cascader] clickoutside
* fix(components): [cascader] clickoutside
2023-03-14 00:19:05 +08:00
Xc
dbb28cf1df
feat(components): [cascader] Adjust expose and typo ( #11781 )
...
* feat(components): [cascader] Adjust expose and typo
* feat(components): [cascader] instances rename
2023-03-10 15:29:30 +08:00
Jeremy
4c27822ef0
fix(components): circular referencing issue ( #11777 )
...
* fix(components): circular referencing issue
* Move sizes related into hooks.
* Remove size definitions in forms only re-exports.
* chore: fix failing tests
2023-03-01 16:44:09 +08:00
Jeremy
11925c8231
refactor(tokens) - [form] ( #11743 )
...
* refactor(tokens): [form] - remove tokens/form
* Move content in tokens/form to components/form.
* Replace token imports in components/form.
* chore: remove form/tokens and replace imports
* refactor(components): [form/form-item]
* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
btea
8dfbddb0da
fix(components): [cascader] add focus and blur event when set filterable ( #11273 )
...
* fix(components): [cascader] add focus and blur event when set filterable
* feat: add tabindex
* feat: update focus class
* Update packages/components/cascader/src/cascader.vue
Co-authored-by: qiang <qw13131wang@gmail.com >
---------
Co-authored-by: qiang <qw13131wang@gmail.com >
2023-02-18 21:58:27 +08:00
Xc
aba0d26537
docs(components): [cascader] ( #11556 )
...
* docs(components): [cascader]
* Update cascader docs with new syntax.
* docs(components): [cascader]
* Update cascader docs with new syntax.
* docs(components): [cascader]
* Update cascader docs with new syntax.
* docs(components): [cascader]
* docs(components): [cascader]
* docs(components): [cascader] add type declarations
* docs(components): [cascader] add type declarations
* docs(components): [cascader] add type declarations
* docs(components): [cascader] add type declarations
2023-02-17 13:59:52 +08:00
井柏然
19e5bb8425
feat(components): [cascader] add togglePopperVisible for expose ( #11559 )
...
* feat(components): [cascader] add togglePopperVisible for expose
* feat(components): [cascader] add togglePopperVisible for expose
2023-02-14 23:54:42 +08:00
sleepyShen1989
b7fd75f75a
fix(components): [cascader] fix warning when clear ( #11335 )
...
closed #11226
2023-02-01 22:14:53 +08:00