It only works once, I open the modal the inputs appear correctly (date), then I close the modal and open again the inputs do not work as they should, no error appears in the javascript just a css error but i think is not this.
I using C# MVC asp.net
$(document).ready(function () {
webshim.activeLang(navigator.language);
webshims.setOptions('waitReady', false);
webshims.setOptions('forms-ext', { types: 'date' });
webshims.polyfill('forms forms-ext');
$('input:invalid').each(function () {
$(this).after($.prop(this, 'validationMessage'));
});
});
My application is SPA
It only works once, I open the modal the inputs appear correctly (date), then I close the modal and open again the inputs do not work as they should, no error appears in the javascript just a css error but i think is not this.
I using C# MVC asp.net
$(document).ready(function () {
webshim.activeLang(navigator.language);
webshims.setOptions('waitReady', false);
webshims.setOptions('forms-ext', { types: 'date' });
webshims.polyfill('forms forms-ext');
My application is SPA