-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UAlert] Add actions slot #1696
Comments
Could you show an example of what you implemented, and an API suggestion, just so we understand the need correctly ? |
It's really simple feature, just to add a actions slot instead of using the description slot. |
You can already do it with the You can check here: https://stackblitz.com/edit/nuxt-ui-z7b766?file=components%2FAlertConfirm.vue |
Ok, but it only accept buttons. In my case (you can check the stackblitz again, and click on "recusar" to see what i'm saying) when a button is clicked another component is shown. Like i said, it's a simple feature, just add a |
@benjamincanac any thoughts on this? |
I think we can add an |
Description
Today i used the UAlert with actions, but with incremented actions not just buttons. So i had to use the description slot to achive this. Would be good if we have #actions slot for these cases.
Additional context
No response
The text was updated successfully, but these errors were encountered: