New feature motivation
Using multiple form elements and custom inputs in swal is hard to do, especially if you want to validate them before closing the modal. You can create multiple input elements with a workaround, mentioned here: https://sweetalert2.github.io/#multiple-inputs
Validating them seems to be almost impossible or at least hard to do.
New feature description
I would like to see a possibility to add unlimited custom input elements and validate them. If not enough people are interested in this change, we could also use a function to validate before returning the values instead of a bigger refactor.
New feature implementation
It seems like this feature was already requested 2 years ago and demand is still here.
This PR already created this behaviour, but it got canceled.
There is even an example, how you could use in the code: Example
I think this feature would help people alot making forms faster, easier and more secure :).