quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.72k stars 3.49k forks source link

Add Slot for the dropdown button of QBtnDropdwon #16955

Open deschenny1907 opened 6 months ago

deschenny1907 commented 6 months ago

What happened?

So far it is only possible to customize the main buttons content through the label slot. With using the split prop to split the dropdown button in its own button there is no posibility to customize this button according to the main button.

What did you expect to happen?

The dropdown button should also be customizable through a slot, for example to add a tooltip.

Reproduction URL

-

How to reproduce?

-

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

No response

Quasar info output

No response

Relevant log output

No response

Additional context

No response

github-actions[bot] commented 6 months ago

Hi @deschenny1907! 👋

It looks like you provided an invalid or unsupported reproduction URL. Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub. Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc. Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

tetzla commented 6 months ago

There is no possibility to set a tooltip for the dropdown button of https://quasar.dev/vue-components/button-dropdown. That's an accessibility flaw for screen reader users.