Skip to content

[Bug Report][3.6.4] Default prop values with a null value are ignoredΒ #19783

Closed
YoutacRandS-VA/desec-stack
#2
@donalmurtagh

Description

Environment

Vuetify Version: 3.6.4
Vue Version: 3.4.27
Browsers: Chrome 124.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

Remove the mobile="null" prop value from the data table and wait for the demo to reload

Expected Behavior

The table should stay in mobile mode, because mobile="null" is the default value for this prop in vuetify.js

Actual Behavior

The table switches to desktop mode (presumably) because default props with a value of null don't work

Reproduction Link

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

Comment

I tried setting the default value to undefined instead of null, but that also didn't work.

Metadata

Assignees

Labels

E: defaultsDefaults composableT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions