-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/pluginsbug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-webpackkind/bug 🐞
Description
What happened?
Following the documentation on how to use Quasar Dialogs with custom components, I ran into a problem when trying to open a dialog with multiple levels of nested components.
I have the following hierarchy:
MyCustomDialogwhich rendersDialogWithTitleas its only childDialogWithTitlewhich rendersDialogBaseas its only childDialogBasewhich rendersQDialogas its only child and uses theuseDialogPluginComponentfunction
When trying to open the dialog with $q.dialog({ component: MyCustomDialog }), I receive this error in the browser console:
[Quasar] Incorrectly defined Dialog component
This is most likely due to the limited level of component subtree resolving in the applyState function.
What did you expect to happen?
I would expect the component nesting to be unlimited, allowing me to open a custom dialog component with an arbitrary level of nesting as long as there is a correct usage of QDialog somewhere in the chain.
Reproduction URL
How to reproduce?
- Go to the provided reproduction link
- Click on the first button
- (Nothing happens)
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Plugins (quasar)
Platforms/Browsers
No response
Quasar info output
Relevant log output
Additional context
No response
Metadata
Metadata
Assignees
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/pluginsbug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-webpackkind/bug 🐞