[Solved] QForm validation doesn't catch error from another inactive panel
-
Dear Quasar,
I can reproduce this issue in below link, is that a bug?
https://codepen.io/Stanley-549393092/pen/PobNQBBThe scenario is: there are two panels inside the form, each of them has one input element that is assigned rule check. If there is some error in inactive panel and there is no error in current active panel, if you click submit button, it is still successful.
Could you please have a look? -
@stanley https://codepen.io/metalsadman/pen/OJyoYPB
Not a bug, panels are lazy loaded, so contents that have not been explored do not exist yet, also use
keep-alive
so they don’t get destroyed when navigating out of the panel. -
@metalsadman Thanks a lot for this great idea! It can solve my problem.