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
    1. Home
    2. Tags
    3. qdialog
    Log in to post
    • T

      Trying to understand QDialog and $refs
      Framework • debugging qdialog refs • • tdumitr

      6
      0
      Votes
      6
      Posts
      5036
      Views

      T

      Yes, I was able to observe the same. The behavior is different from the old QModal, where everything was rendered when the page was loaded, with the dialog kept hidden, but very much in the DOM. There’s an opportunity for improving the docs (they are really great as they are, but there’s always room for improvement) to explain exactly what gets created when, when can one use refs for fields inside the dialog, etc.

      I moved the code for processing the schema and populating the dialog on this.$nextTick right after the dialog is open. Everything works well now.

      Thank you @metalsadman and @digiproduct for your help. Really appreciate it.

    • Jezzta667

      Unit Test a Quasar Dialog
      Framework • dialog jest qdialog test vue-test-utils • • Jezzta667

      4
      0
      Votes
      4
      Posts
      908
      Views

      G

      could you please tell me how to test the opening and closing of the dialog ?

    • mlars84

      Using both prompt and options in v0.15.3 this.$q.dialog without a custom modal
      Framework • dialog modal options prompt qdialog • • mlars84

      1
      0
      Votes
      1
      Posts
      692
      Views

      No one has replied