jquery-confirm
jquery-confirm copied to clipboard
Input with mask in prompt
jquery-confirm version: v3.3.0
I'm submitting a ... (check one with "x") [ ] bug report [ ] feature request [x] support request
Other information: I am trying to mask a dated field inside a prompt, is this possible? I'm using the mask Inputmask. I tried as follows, but was unsuccessful, the field is not masked:
`$.confirm({
icon: "fa fa-question text-blue",
title: "Data da Vistoria!",
content: "" +
"<div class='form-group'>" +
"<label>Data da Vistoria</label>" +
"<input data-inputmask=\"'mask': '99/99/9999', 'removeMaskOnSubmit': true, 'clearIncomplete': true, 'placeholder': 'dd/mm/yyyy'\" required class='dtVistoria form-control input-sm text-center'/>" +
"</div>",
buttons: {
Ok: {
text: "Ok",
btnClass: "btn btn-primary btn-xs",
action: function () {
var dataVistoria = this.$content.find(".dtVistoria").val();
// TODO: Implementar
}
}
}
});`