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

Allow handler as a string for object watch option #1774

Closed
aguingand opened this issue Aug 4, 2020 · 0 comments · Fixed by #1775
Closed

Allow handler as a string for object watch option #1774

aguingand opened this issue Aug 4, 2020 · 0 comments · Fixed by #1775
Assignees

Comments

@aguingand
Copy link

Version

3.0.0-rc.5

Reproduction link

https://jsfiddle.net/hcbjno7r/

Steps to reproduce

Create a component with object watch option containing handler as string.

What is expected?

To watch the property and call the handler defined in methods.

What is actually happening?

Error is thrown Uncaught TypeError: raw.handler.bind is not a function.

@posva posva self-assigned this Aug 4, 2020
posva added a commit that referenced this issue Aug 4, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants