t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.39k stars 2.84k forks source link

add option inside select element #860

Open mateo9 opened 5 years ago

mateo9 commented 5 years ago

Is possible populate the options of a select element using sweetalert1. I know it is possible with sweetalert2 but unfortunately i need stick to sweetalert1. swal({ content: { element: "select", } } i add select tag using content but dont know what do next.

thanks in advance :)

ipehimanshu commented 1 year ago

any help for this point ?

mateo9 commented 1 year ago

Hi @ipehimanshu , you can find my solution here https://github.com/t4t5/sweetalert/issues/835