-
Hi vee-validate community, I'm currently in the process of rewriting a React application to Nuxt and I'm having some difficulty with I've tried a few different ways of binding the value such as using I'm fairly new to Vue / Nuxt and totally new to vee-validate and for the life of me I cannot figure out how to make sure the value is properly cleared. I find it especially odd because similar functionality worked just fine in the React application (which uses react-hook-form). The code as it is right now can be found in this branch: https://github.com/sapphiredev/resource-webhooks/tree/refactor/frontend-ui-nuxt When launching either application, the monaco editor with form that has to be reset through a button is in the Any help would be very much appreciated. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I ended up digging more thoroughly through the Vue code of |
Beta Was this translation helpful? Give feedback.
I ended up digging more thoroughly through the Vue code of
nuxt-monaco-editor
wherein I found that they offer to bind amodal-value
prop. By setting that to:modal-value="value"
resetting the form also clears the monaco editor as the vue code ofnuxt-monaco-editor
has a watch for that property.