browser error: withDirectives can only be used inside render functions. #9622
Replies: 2 comments 3 replies
-
You are using I can't really understand what it is you are trying to do, but it is not a bug. You seem to rather want to ask for help, so I' |
Beta Was this translation helpful? Give feedback.
-
I have developed a Vue 3 plugin and distributed it using a CDN. However, when I include the plugin in a project via the CDN, the input fields within my component return an empty string, even though the input is visible and interactive in the browser. Additionally, I receive the following warning: withDirectives can only be used inside render functions. could this be the issue. and how can i fix this warning ? |
Beta Was this translation helpful? Give feedback.
-
Vue version
3.3.8
Link to minimal reproduction
https://play.vuejs.org/#__DEV__eNp9VF1vmzAU/St3fjFIhGjrW0ai0ayTNmldtVV7KX2g4CRuwbZsQztF+e+7tiEJ3dQHJLhf557jY/YkVyrtO0YWJLOsVU1p2aoQAFkO8/DybjaDrGqkYBiB2QyjPn45KeBCdRb62UZWnYG+bDq2LMgzt7vPXLPK8p6ZgkwnrCcTHjprpYBPVcOrp9RYqVKlWc+ExUFRDMsVVFIY2bC0kduIutnfZc03nGlD44KsfGc2D4MGoGx+RiszlebKgmG2U/jNWyW1hT3sEmiZ3rIbLZVJwLP9fS1rlgA3w4tmiN2zI50EpuzC93EjOMBGyxYoqksdYbe8hRyWsIuoUaWgSUHygsQfT1kn8hL3qZrSmAXQjZQ0wejaMVtAUOH9YSy3z/K8fA8PpV6A1R2Dw1nb0PcBjo2ebI29J9YRYiduYhyKRp0LcqpZQEEGpWosG6cFcyzPZIvyBPaj8MgjRxb2j3KvvogeHGu+gWiQN8rjGPbODFPs08iA7b8RGpkUYj731Wi7L951y3/OKKIhRR3cq1qP1spOWFajtKzxIrEm9RaORpDQdYkN0+OO8BS96ZGaH+U977Z8bXocFCdwdxeQ7++9cuPgdfBD8Ow4igvB9C17sW6cdzVyd4njkU6sFoXz9a2vBZwUotlcDXrjjroLhnh0uGPUrXXAJ5uHS7IiCbEGh234Nn00UuAvwiPgRrJVvGH6h7IcwQqC1gvYBSmbRj5/8zHnQ7+179mx6uk/8Ufz4mIFucGzY7pnA1OXsyUazYb01a9r1OMs2cq6a7D6jeRP54bO7RjKLjtR49pndX7br/4vwMX21ly9WCbMSMotGvQKvPEmr9+gflr3Ir3wfagoOfwFO1zJSw==
Steps to reproduce
What is expected?
B component should get focus
What is actually happening?
B component not get focus
System Info
Any additional comments?
I'm a beginner in vue3. I tried Google and issue to find the answer, but I don't seem to be the same as the problem I encountered.
#3446
Beta Was this translation helpful? Give feedback.
All reactions