Commit a0b2cd5a authored by Chenu Denis's avatar Chenu Denis

[fix] Mandatory slider item don't show error

parent 78fecf98
...@@ -47,7 +47,7 @@ var TemplateAccessible = { ...@@ -47,7 +47,7 @@ var TemplateAccessible = {
}, },
setMandatoryRequired: function() { setMandatoryRequired: function() {
$("[id^='question'].mandatory").each(function() { $("[id^='question'].mandatory").each(function() {
$(this).find('.text-item input:text,.text-item textarea,.dropdown-item select,.radio-item input:radio').attr('required',true); $(this).find('.text-item:not(.slider-item) input:text,.text-item textarea,.dropdown-item select,.radio-item input:radio').attr('required',true);
}); });
}, },
setDynamicValidity : function () { setDynamicValidity : function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment