q-menu & q-btn-dropdown propagation issue on q-table row #13005
Unanswered
rizkybasnur
asked this question in
General - Components / Directives / etc
Replies: 1 comment
-
Have you tried adding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! i have a q-table that when we click the row area we can open a dialog based on it rows data. But i also have a q-menu and q-btn-dropdown inside the row. when i click either q-menu or q-btn-dropdown, i notice that the menu and the dropdown is open, but also the dialog. how can i prevent the dialog to be opened when i click q-menu or q-btn-dropdown? is there a props for stopping propagation for q-menu and q-btn-dropdown?
here's the sample of how i put the q-menu and q-btn dropdown inside the q-td tag from q-table. Also i put the activator for the row modal inside the q-td of another section of the row.
`
<q-btn
label="Detail"
unelevated
class="btn-secondary-2"
padding="4px 8px"
no-caps
@click.stop="setDetail(props.row)"
/>
Beta Was this translation helpful? Give feedback.
All reactions