vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

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

Open laventnc opened this issue 1 year ago • 0 comments

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

laventnc avatar May 09 '24 14:05 laventnc