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

dropdownButton type not match with Button, when i set type="text", bring a warning #4802

Closed
1 task
nabaonan opened this issue Oct 25, 2021 · 3 comments
Closed
1 task
Labels

Comments

@nabaonan
Copy link
Contributor

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

Version

2.2.8

Environment

vue3.2.20, vite 2.6.10, ts 4.4.3

Reproduction link

Edit on CodeSandbox

Steps to reproduce

set type="text" on dropdownButton

What is expected?

dropdownButton's type is same with Button

What is actually happening?

console bring a waning called
[VueTypes warn]: oneOf - value should be one of "primary", "ghost", "dashed", "danger", "default".

@nabaonan
Copy link
Contributor Author

image

@tangjinzhou
Copy link
Member

其实是有意为之,3.0 加回来了

@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 Oct 26, 2022
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