sweetalert icon indicating copy to clipboard operation
sweetalert copied to clipboard

add option inside select element

Open mateo9 opened this issue 6 years ago • 2 comments

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 :)

mateo9 avatar Sep 17 '18 14:09 mateo9

any help for this point ?

ipehimanshu avatar Sep 19 '22 07:09 ipehimanshu

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

mateo9 avatar Sep 19 '22 10:09 mateo9