mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-5788-Bug-en-item-percentil-de-las-consolas-visuales' into 'develop'
Fixed input type number size in Firefox See merge request artica/pandorafms!3221
This commit is contained in:
commit
dab1a8b5cb
@ -2123,13 +2123,6 @@ function html_print_input_number(array $settings):string
|
|||||||
$settings['maxlength'] = 255;
|
$settings['maxlength'] = 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check Size.
|
|
||||||
if (isset($settings['size']) === false
|
|
||||||
|| $settings['size'] === 0
|
|
||||||
) {
|
|
||||||
$settings['size'] = 255;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach ($settings as $attribute => $attr_value) {
|
foreach ($settings as $attribute => $attr_value) {
|
||||||
// Check valid attribute.
|
// Check valid attribute.
|
||||||
if (in_array($attribute, $valid_attrs) === false) {
|
if (in_array($attribute, $valid_attrs) === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user