Replies: 2 comments 1 reply
-
This might help as an example even though it is using a form you should be able to modify it to your liking. https://www.bits-ui.com/docs/components/alert-dialog#working-with-forms This is from the component library that shadcn svelte is built on |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here's how I think I solved it. Card.svelte
+page.svelte
|
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, been really struggling with this one for a couple hours, everything I try doesn't seem to quite work.
I want to create an Alert Dialog with two button: 'yes' and 'no'.
I want to wait for this input using a promise perhaps. Is there a way to do this?
E.g.
Beta Was this translation helpful? Give feedback.
All reactions