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

    Losing reactivity afetr opening q-modal

    Help
    2
    3
    728
    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.
    • M
      MagoSchmidt last edited by MagoSchmidt

      I have this structure on my template:

          <q-card inline class="card-title" v-for="(item, index) in tblConteudo" :key="index">
            <q-card-title>{{ item.dat_materia }}
            </q-card-title>
            <q-card-separator />      
            <q-card-main>
              <p class="text-faded">{{ item.descricao }}</p>
            </q-card-main>
            <q-card-separator />      
            <q-card-main>
              <p class="text-faded">{{ item.tarefa }}</p>
            </q-card-main>
          </q-card>
          <q-modal ref="conteudoModal" content-classes="content-modal">
            <h5>Alterar Conteúdo</h5>
            <q-input v-model="item.descricao" inverted :min-rows="5" float-label="Conteúdo" type="textarea" />
            <q-input v-model="item.tarefa" inverted :min-rows="5" float-label="Tarefas" type="textarea" />
            <q-btn color="primary" @click="gravaConteudo(item)">Salvar</q-btn>
          </q-modal>  
      

      When I programmatically open modal with an

              this.$refs.conteudoModal.open()
      

      All page loses reactivity and QCard’s are not update anymore when tblConteudo changes…

      Does anyone can help?

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • E
        emarutian last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • E
          emarutian last edited by

          Disregard - that was my mistake - solution / problem was elsewhere.

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