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.5.11] [Vue warn]: Invalid prop: type check failed for prop "ripple". Expected Boolean, got Object #19462

Closed
EvgenyWas opened this issue Mar 25, 2024 · 0 comments · Fixed by #19465
Assignees
Labels
D: ripple T: bug Functionality that does not work as intended/expected
Milestone

Comments

@EvgenyWas
Copy link
Contributor

Environment

Vuetify Version: 3.5.11
Vue Version: 3.4.21
Browsers: Chrome 123.0.0.0
OS: Windows 10

Steps to reproduce

When using TypeScript, set defaults.global.ripple.class: 'text-error' to Vuetify options and see there is a warning in the console:
Invalid prop: type check failed for prop "ripple". Expected Boolean, got Object
at <VSelectionControllabel=undefinedbaseColor=undefinedtrueValue=undefined ...>
at <VCheckboxBtnindeterminate=falseindeterminateIcon="$checkboxIndeterminate"label=undefined ...>
at <VInputclass="v-checkbox"id="checkbox-5"appendIcon=undefined ...>
at

This warning persists for VSwitch, VCheckbox, VRadio, and VRadioGroup components where the function makeSelectionControlGroupProps is used.

Expected Behavior

Set ripple prop properly to avoid this warning.

Actual Behavior

Ripple prop is set as Boolean instead in makeSelectionControlGroupProps.

Reproduction Link

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

@johnleider johnleider self-assigned this Mar 26, 2024
@johnleider johnleider added T: bug Functionality that does not work as intended/expected D: ripple and removed S: triage labels Mar 26, 2024
@johnleider johnleider added this to the v3.5.x milestone Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D: ripple T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants