No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [Solved] QForm validation doesn't catch error from another inactive panel

    Framework
    2
    3
    191
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stanley last edited by Stanley

      Dear Quasar,

      I can reproduce this issue in below link, is that a bug?
      https://codepen.io/Stanley-549393092/pen/PobNQBB

      The 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?

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @Stanley last edited by metalsadman

        @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.

        S 1 Reply Last reply Reply Quote 0
        • S
          Stanley @metalsadman last edited by

          @metalsadman Thanks a lot for this great idea! It can solve my problem.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post