Commit 89c10c7d authored by daspeter's avatar daspeter Committed by jelles
Browse files

Issue #2167345 by das-peter, Nics | yannisc: Fixed Doesn't work with integer fields ranges.

parent ccb22375
......@@ -107,7 +107,11 @@ function clientside_validation_regular($form_id, $element, &$js_rules, $form_sta
$max = $instance['settings']['max'];
}
if ($min !== '' || $max !== '') {
_clientside_validation_set_minmax($el_name, $el_title, $min, $max, $js_rules, '', $field['settings']['decimal_separator']);
$decimal_separator = '.';
if (isset($field['settings']['decimal_separator'])) {
$decimal_separator = $field['settings']['decimal_separator'];
}
_clientside_validation_set_minmax($el_name, $el_title, $min, $max, $js_rules, '', $decimal_separator);
}
if (isset($field['settings']['decimal_separator'])) {
......
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