Custom text in requiresConfirmation modal #10102
-
Filament v3 i have an action with requiresConfirmation Is it possible to add custom text to the requiresConfirmation modal dialog? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
leandrocfe
Dec 5, 2023
Replies: 3 comments 1 reply
-
Yes, take a look |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jwhoami
-
That's nice indeed :) I was wondering if it was possible to add line breaks, or even better, some markdown styling... That would be awesome |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you are in v2 use the method ->modalSubheading('your text here') |
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
Yes, take a look
https://filamentphp.com/docs/3.x/actions/modals/#customizing-the-modals-heading-description-and-submit-action-label