quasarframework/quasar-play

Wrong context-menu tag used.

ystreibel opened this issue · 2 comments

in quasar-play/src/components/showcase/web-components/context-menu.vue, you have to use quasar-context-menu and not q-context-menu :

<q-context-menu ref="context">
  <div class="list highlight" style="min-width: 150px; max-height: 300px;">
    <div
      class="item item-link two-lines item-delimiter"
      v-for="n in 10"
      @click="showToast(), $refs.context.close()"
    >
      <div class="item-content">
        <div>Label</div>
        <div>Value</div>
      </div>
    </div>
  </div>
</q-context-menu>

q-context-menu is correct. Why do you say this is wrong? Maybe I can help. You may be using an older Quasar version.

Thanks, I upgrade my quasar on package.json :)