FormValidator: Allow to Number use custom CSS classes - refs BT#16152

behat
Angel Fernando Quiroz Campos 6 years ago
parent 660ddb3be2
commit 34aeb8e6e3
  1. 1
      main/inc/lib/formvalidator/Element/Number.php

@ -20,7 +20,6 @@ class Number extends HTML_QuickForm_text
} }
$attributes['type'] = 'number'; $attributes['type'] = 'number';
$attributes['class'] = 'form-control';
parent::__construct($elementName, $elementLabel, $attributes); parent::__construct($elementName, $elementLabel, $attributes);
$this->_appendName = true; $this->_appendName = true;

Loading…
Cancel
Save