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.3.15] v-color-picker: Setting a 'width' property on the component disallows a null value, defaults to #ffffff #18231

Closed
craigrileyuk opened this issue Sep 8, 2023 · 1 comment
Assignees
Labels
C: VColorPicker T: bug Functionality that does not work as intended/expected
Milestone

Comments

@craigrileyuk
Copy link

Environment

Vuetify Version: 3.3.15
Vue Version: 3.3.4
Browsers: Firefox 117.0
OS: Mac OS 10.15

Steps to reproduce

  • Render a v-color-picker component
  • Pass a modelValue Ref containing null

Expected Behavior

Picker respects the null value and show no colour selected

Actual Behavior

When a width property is not set on the component, the behaviour is as expected.

If you do set a width prop, however, the previously null value now automatically defaults to white ( #ffffff or rgb(255,255,255) )

Reproduction Link

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

@KaelWD
Copy link
Member

KaelWD commented Sep 8, 2023

wtf

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VColorPicker labels Sep 8, 2023
@github-actions github-actions bot removed the S: triage label Sep 8, 2023
@KaelWD KaelWD self-assigned this Sep 8, 2023
@KaelWD KaelWD added this to the v3.3.x milestone Sep 8, 2023
@KaelWD KaelWD closed this as completed in 9e378df Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VColorPicker T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants