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

    QEditor v-model issue

    Framework
    3
    7
    336
    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
      Sweetyy last edited by Sweetyy

      Hi everyone !

      I upgraded to Quasar 1.14.0 2 days ago and since I did it, I have some issues with the QEditor.
      Indeed, it looks like the v-model is not updated in a proper way :

      169b1eaf-5025-471b-9223-2700b59bdf3c-image.png

      As you can see in this picture, I get the good values title 1 and Description 1 but the v-model is not updated. This was working before the version 1.14.0 by using a watch method in the view that was changing the v-model dynamically and depending of the element selected. But now, even with this method, the v-model is not correctly set anymore.

      How it looks more globally :
      f81c20a7-9f8e-4e76-8f3d-34cdde2308b9-image.png

      The user select an element in the left list and then the element settings are updated on the right side. This is easily managed in the watch method and was working perfectly:

      this.contentHtml = this.element.properties.expression.html
      

      EDIT : I just tried with QInput and it’s working like a charm but not with the QEditor :
      59a47efb-7b95-406d-ab45-b0684e0de046-image.png

      Any idea ? Is this a real issue that I have to add on Github ?

      Thanks in advance for your help

      1 Reply Last reply Reply Quote 0
      • S
        Sweetyy last edited by Sweetyy

        Do I have to move that in the “Help” section ? I really need help 😕

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

          @Sweetyy if you see it as a bug, file a ticket with a codepen in quasar’s github repo.
          please leave a reproduction codepen here too, so that peeps can check. can’t test images :x.

          1 Reply Last reply Reply Quote 0
          • S
            Sweetyy last edited by Sweetyy

            @metalsadman thanks for the suggestion but I couldn’t reproduce it because of the complexity of the project.

            The thing is that I downgraded to Quasar 1.13.1 and it works like a charm again … I checked the release notes and saw that in the 1.13.2 version there is a fixe “fix(QEditor): correctly manage model; keep selection when model changes outside of the component #7647” and I’m almost sure the issue I got is coming from that… I’m sorry that I can’t give more details but the thing is that it’s working on the 1.13.1 and not after.

            Hope it will help a bit and I will try again to reproduce my issue.

            1 Reply Last reply Reply Quote 0
            • Hawkeye64
              Hawkeye64 last edited by

              @Sweetyy There is a fix to that previous commit and will be available in v1.14.2

              1 Reply Last reply Reply Quote 2
              • Hawkeye64
                Hawkeye64 last edited by

                Probably should have included the commit in case you wanted to review it: https://github.com/quasarframework/quasar/commit/c80e1ef27926143bdadfb5d6fcd725002fbd5f14

                1 Reply Last reply Reply Quote 0
                • S
                  Sweetyy last edited by

                  @Hawkeye64 perfect !!! Thank you so much for that ! 😃

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