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.0.0-beta.6] validate and other methods on ref child component is undefined in production #15591

Closed
paul-thebaud opened this issue Aug 7, 2022 · 3 comments
Assignees
Labels
framework Issues and Feature Requests that have needs framework-wide. T: bug Functionality that does not work as intended/expected
Milestone

Comments

@paul-thebaud
Copy link
Contributor

paul-thebaud commented Aug 7, 2022

Environment

Vuetify Version: 3.0.0-beta.6
Last working version: 2.6.7
Vue Version: 3.2.37
Browsers: Chrome 104.0.0.0
OS: Linux x86_64

Steps to reproduce

Init a Vue 3 and Vuetify 3 app. Add a simple text field with a ref on it, log the proxy and the validate property of ref. The property is defined on dev, but not on production build.
Please check out the readme of the reproduction repository for more details.

Expected Behavior

Validate method should be accessible on production build too.

Actual Behavior

The method is undefined the proxied object looks different than in dev mode.

Reproduction Link

https://github.com/paul-thebaud/bug-ref-vue-vuetify

Other comments

This issue was first posted on the vue repository at this issue: vuejs/core#6418
They asked me to post here first.

@KaelWD
Copy link
Member

KaelWD commented Aug 7, 2022

Is this related to #15479? Try "vuetify": "npm:@vuetify/nightly@3.0.0-next-20220806.0"

@paul-thebaud
Copy link
Contributor Author

HI @KaelWD, may be related, but the current state for is it is working in dev build, but not production, which does not looks exactly the same as #15479.
Tried with the nightly you gave, not working too.

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected framework Issues and Feature Requests that have needs framework-wide. and removed S: triage labels Aug 7, 2022
@KaelWD KaelWD self-assigned this Aug 7, 2022
@KaelWD KaelWD added this to the v3.0.0-beta milestone Aug 7, 2022
@github-actions github-actions bot closed this as completed Aug 8, 2022
@paul-thebaud
Copy link
Contributor Author

Hello @KaelWD, thanks for this quick fix. Any nightly release on which you wish to try the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework Issues and Feature Requests that have needs framework-wide. T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants