Fixed input type number size in Firefox

This commit is contained in:
Daniel Barbero Martin 2020-05-20 10:54:07 +02:00
parent 09ea6fdb97
commit 3857d04df1
1 changed files with 0 additions and 7 deletions

View File

@ -1758,13 +1758,6 @@ function html_print_input_number(array $settings):string
$settings['maxlength'] = 255;
}
// Check Size.
if (isset($settings['size']) === false
|| $settings['size'] === 0
) {
$settings['size'] = 255;
}
foreach ($settings as $attribute => $attr_value) {
// Check valid attribute.
if (in_array($attribute, $valid_attrs) === false) {