(VUE3) Why vue not rerender page after promise resolve #8114
Unanswered
rubanNg
asked this question in
Help/Questions
Replies: 1 comment
-
Has anyone found a solution to this issue? I'm encountering the same problem while using the latest version of Vue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi i have function which validate form fields.
if i run synchronous validators mypage usually rerender and show meesage about errors
but if after ran synchronous validators i dont have erros i run async validators(is promise function) and if validator return errors i add this errros to my error list also
But my problem is that the page is not rerendered even if there are errors after running the asynchronous validators
But if I press ctrl+s in the vs code, I can see my errors on my page.
I think my problem in promises but i cant resolve this problem.
I tried to use
nextTick
but it didn't help.I think it might be a vue problem.
If you have any ideas I'd be happy to hear them.
You can see the link in more detail
https://github.com/rubanNg/vue-reactive-form/blob/master/src/package/lib/abstract-conrol.ts#L182
Beta Was this translation helpful? Give feedback.
All reactions