Feature Request: Action::confirmText can render html #5208
Unanswered
bkuhl
asked this question in
Ideas & Feature Requests
Replies: 0 comments
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.
-
When we build admin areas, we try to describe some of the behavior that might happen with a destructive action in the dialog where it's happening. This makes it easier to onboard new folks and serves as self-documentation for what will happen.
It would be much cleaner to do this if we're able to provide a bulleted list of impact of a given destructive action. Currently, the HTML shows up in red text, rather than rendering the HTML in the browser as red text. The ability to do something like,
->confirmText(view('admin.users.confirm-ban'))would go a long way.Beta Was this translation helpful? Give feedback.
All reactions