Skip to content

自定义组件的prop设置了default导致warning: please use option.initialValue to set default value. #2387

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

Closed
1 task done
candy-Tong opened this issue Jun 8, 2020 · 2 comments
Labels

Comments

@candy-Tong
Copy link
Contributor

candy-Tong commented Jun 8, 2020

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

Version

1.6.0

Environment

windows10,google chrome 79.0.3945.130,vue 2.6.10

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在输入框中输入

What is expected?

无任何警告

What is actually happening?

Warning: CustomInput default value can not collect, please use option.initialValue to set default value.


#1076 看issue是修复过了,但还是有warning

@sendya
Copy link
Member

sendya commented Jun 9, 2020

image

@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 Jun 11, 2021
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