How to change individual alert Ok button name change

Hello,

I will change alert “Ok button” name, when Init set “buttonOk” then all alert dialog box Ok button name changed and its working properly.

My concern is “How to change individual alert Ok button name change.”

Is it possible to custom ok button name change?

Please help me

//Init App
var app = new Framewrk7({
dialog: {
// set default title for all dialog shortcuts
title: ‘My App’,
// change default “OK” button text
buttonOk: ‘Done’,

}
});

Not possible. In this case you need to use custom dialog by calling app.dialog.create({…options here…}); http://framework7.io/docs/dialog.html#dialog-parameters

Thanks for reply @nolimits4web

Ok, but i would like to change individual alert Ok button name change.

as per you told create dialog after open dialog. Am i right?

No, you should create own custom dialog with custom button and then open it

Ok, got it your point @nolimits4web