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

recommended to provide a default value for the Props property defined in VPfeature Component #1936

Closed
4 tasks done
daiwanxing opened this issue Feb 13, 2023 · 0 comments · Fixed by #1963
Closed
4 tasks done

Comments

@daiwanxing
Copy link

daiwanxing commented Feb 13, 2023

Is your feature request related to a problem? Please describe.

When I used the VPfeature component, I only passed a title attribute value to it, but I opened the devtools and found that I got related warning information. I don't think this kind of warning message is very necessary for users.

image

Describe the solution you'd like

Provide a default value for non-required properties in the component

Describe alternatives you've considered

I have completed the relevant feature locally, If you think this is a good suggestion, I am willing to submit the relevant PR

Additional context

No response

Validations

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant