-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/clibug/0-needs-infoNeed more info to reproduceNeed more info to reproduceflavour/quasar-cli-vitekind/bug 🐞
Description
What happened?
Hi,
the dialog plugin dialog's cause vuedevtools crash
What did you expect to happen?
I expect to inspect data from vuedevtools
Reproduction URL
https://codepen.io/pen/can't provide an url that can use vue devtools
How to reproduce?
To reproduce
- create a new quasar app from scratch (using npm in my case)
- add a button to open a dialog in index page
- try to inspect the result with vuedevtools (chrome extension 7.7.7)
// indexPage.vue
<template>
<q-page class="flex flex-center">
<img
alt="Quasar logo"
src="~assets/quasar-logo-vertical.svg"
style="width: 200px; height: 200px"
>
<q-btn @click="test" label="Test Dialog" />
</q-page>
</template>
<script setup>
import { useQuasar } from 'quasar'
const $q = useQuasar()
function test () {
$q.dialog({
title: 'Alert',
message: 'Some message'
}).onOk(() => {
console.log('OK')
}).onCancel(() => {
console.log('Cancel')
}).onDismiss(() => {
console.log('I am triggered on both OK and Cancel')
})
}
</script>
`
### Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
### Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
### Platforms/Browsers
Chrome
### Quasar info output
```Shell
Relevant log output
Additional context
No response
Metadata
Metadata
Assignees
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/clibug/0-needs-infoNeed more info to reproduceNeed more info to reproduceflavour/quasar-cli-vitekind/bug 🐞