Closed shanpuzzo closed 3 months ago
Hello, you are welcome.
You have only one solution for this request:
plainText
(https://github.com/notiflix/Notiflix#notiflix-confirm-module-default-options) option as false
since it is defaulted as true
and,Notiflix.Confirm.show()
https://github.com/notiflix/Notiflix#show method with the description(the second argument) content will be your area to use the stringified HTML content as you want.disable
attributes to these buttons by your logic.Notiflix.Confirm.show(
'Title',
'<h1>HTML</h1>',
'Yes',
'No',
function okCb() {
alert('Yes');
},
function cancelCb() {
alert('No');
},
{
plainText: false,
},
);
Thank you, Furkan
Hello and thanks for this beautiful library. I have one question, I see that confirm.prompt asks the user a text string and I use it wherever needed; however, i'd like to have the possibility to insert a select box to have the user select from the given options. Would that be possible? Thanks in advance