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

[Bug Report][3.6.4] Defaults on base components inconsistently applied #19792

Open
laventnc opened this issue May 9, 2024 · 0 comments
Open

Comments

@laventnc
Copy link

laventnc commented May 9, 2024

Environment

Vuetify Version: 3.6.4
Vue Version: 3.4.27
Browsers: Chrome 124.0.0.0
OS: Windows 10

Steps to reproduce

  1. Specify global defaults props for the base component Field: bgColor, color, variant
  2. Check Field components like Select or TextField and notice that variant does not flow through.

Expected Behavior

Applying default prop values for base components should apply them to their sub-components.

Actual Behavior

Some props flow through, others don't

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

While writing this I believe I figured out the source of the issue:
Props that default to undefined are correctly passed down, while those with sub-component defaults are overridden

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant