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

Open
mhellmeier opened this issue Jul 5, 2024 · 0 comments
Open

Make Alert Button Text Customizable #535

mhellmeier opened this issue Jul 5, 2024 · 0 comments
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 rjaros self-assigned this Jul 7, 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