fix(components): [cascader] failed to retrieve value when value is 0#17651
Merged
tolking merged 2 commits intoelement-plus:devfrom Jul 25, 2024
Merged
fix(components): [cascader] failed to retrieve value when value is 0#17651tolking merged 2 commits intoelement-plus:devfrom
0#17651tolking merged 2 commits intoelement-plus:devfrom
Conversation
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 element-plus#17647
do not submit pnpm-lock.yaml.
|
👋 @dadaguai-git, seems like this is your first time contribution to element-plus.
|
|
Hello @dadaguai-git, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
|
🧪 Playground Preview: https://element-plus.run/?pr=17651 |
0
btea
approved these changes
Jul 24, 2024
Contributor
Author
tolking
approved these changes
Jul 25, 2024
Member
|
Thank for your contribution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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
Please make sure these boxes are checked before submitting your PR, thank you!
devbranch.