You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make some components (usually data tables) that can be optionally displayed in a modal. No problem so far... just wrap the VaModal around the component.
However, the component exposes one or mire functions that need to be called by the parent. This is where the problem starts. Assigning a ref to a component inside VaModal is always undefined, so the exposed functions can't be called.
First of all, you need to wait until the component is mounted. Second, make sure modal is visible. VaModal will not render any child component until modal is shown e.g. v-model must be true.
Vuestic-ui version: 1.10.3
Description
I'm trying to make some components (usually data tables) that can be optionally displayed in a modal. No problem so far... just wrap the VaModal around the component.
However, the component exposes one or mire functions that need to be called by the parent. This is where the problem starts. Assigning a ref to a component inside VaModal is always undefined, so the exposed functions can't be called.
Reproduction
Any ideas?
The text was updated successfully, but these errors were encountered: