Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatePicker components use attribute value-format="YYYY-MM-DD" click open panel appear type Mismatch warning #5323

Closed
1 task
LinbinSuccess opened this issue Mar 10, 2022 · 2 comments
Labels

Comments

@LinbinSuccess
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.0-beta.13

Environment

os version:macOS 10.15.1、browser version:100.0.4892.0(正式版本)dev (x86_64)、Vue version:3.2.25

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Normal use DatePicker components that will do,binding v-model:value 、use value-format="YYYY-MM-DD" attribute。then click components eject Date panel time Will appear Warning of type mismatch

What is expected?

Do not warn of date mismatches,Because of the use of value-format="YYYY-MM-DD" Property should be of type string

What is actually happening?

A warning has occurred: Invalid prop: type check failed for prop "value". Expected Object, got String with value "".


nothing

@tangjinzhou
Copy link
Member

wait next version
or
set init value to null, not empty string

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants