flux:button confirm attribute to open confirmation modal instead of wire:confirm confirmation dialog #1550
Unanswered
phingoc1
asked this question in
Feature Requests
Replies: 1 comment 1 reply
-
@phingoc1 In my opinion, this type of thing should be app-specific (and implemented by the app programmer) as there will be many different opinions as to what such a 'beautiful confirmation modal' should look like. (e.g. SweetAlert) And, once one decides what they want that confirmation to look like, they can easily design a component they can (re)use throughout their app for ease and consistency. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would be cool to have
confirm
attribute onflux:button
that would open a beautiful confirmation modal, instead of usingwire:confirm
and the boring default system dialog. Instead of needing to add a separate confirmation modal manually everywhere its needed.Instead of wire:confirm
<flux:button confirm="Are you sure?">Delete</flux:button>
Instead of wire:confirm.prompt
<flux:button confirm="Are you sure? Enter DELETE|DELETE">DELETE</flux:button>
And maybe add some confirm variants for icon and color in the modal?
Beta Was this translation helpful? Give feedback.
All reactions