Skip to content
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

Make Alert Button Text Customizable #535

Closed
mhellmeier opened this issue Jul 5, 2024 · 1 comment
Closed

Make Alert Button Text Customizable #535

mhellmeier opened this issue Jul 5, 2024 · 1 comment
Assignees

Comments

@mhellmeier
Copy link

For the Bootstrap Confirm dialog, it is currently possible to set the names of the Buttons (with the parameters, yesTitle, noTitle and cancelTitle):

cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel",

Unfortunately, this is not possible with the Alert, because it is fixed to the hard-coded value "Ok":

val okButton = Button("OK", "fas fa-check", ButtonStyle.PRIMARY)

It would be great if the KVision user could customize this value.

@rjaros
Copy link
Owner

rjaros commented Aug 8, 2024

Fixed in 8.0.0-RC

@rjaros rjaros closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants