0

Im trying to get select box inside sweetalert (version 1), Now it goes work, if I use sweetalert2, but the other function goes wrong! Like input form and design. So all i can do is, to make input of select to work in version 1. Is it possible? My code sample here :

function listUsersInSwal(merchantId){    
var usersList = ['user1','user2','user3'];
swal({
    title: "Message ",
    text: "Enter Message:",
    showCancelButton: true,
    closeOnConfirm: false,
    animation: "slide-from-top",
    input: 'select',
    inputOptions: usersList
})}
learningBird
  • 125
  • 1
  • 1
  • 5

0 Answers0