How Can add date input type ?
ioer2008 opened this issue · comments
郭军 commented
Michael Currie commented
I don't believe date inputs are supported by the JavaScript SweetAlert2 library.
From the SweetAlert2 docs:
Input field type, can be text, email, password, number, tel, range, textarea, select, radio, checkbox, file and url.
Michael Currie commented
This is the relevant issue from the SweetAlert2 repo: sweetalert2/sweetalert2#1058
I'd recommend what the maintainer recommends and pass the date input HTML manually using the Html
property.
郭军 commented
Thank you !