Sweet alert multiple inputs. Multiple inputs aren't supported, you can achieve them by using HTML and preConfirm parameters. Inside the preConfirm () function you can pass the custom result to the resolve () function as a parameter: Feb 18, 2017 · That's not directly supported by SweetAlert (because we keep things simple), but you can do it by writing the HTML yourself. With this format, we can specify many more options to customize our alert. Jan 17, 2018 · HI, i digged a lot but could not find the sweetalert with html param which includes two input and two select box. anyone to guide and help please. Alternatively, a range input with a number input can be achived manually using the html property to add a number input. fire() options object to the desired type. Multiple inputs aren't supported, you can achieve them by using html and preConfirm parameters. Prerequisite: Introduction to React React Hooks Syntax: function SweetAlert2() { const fireAlert = () => { Swal. github. kn73ipd9 lkz ree iq hyth0 cfry wgc9cl1uf ebmy ugom odzdg