fix maxlength typo

This commit is contained in:
Jean-Christian Denis 2023-10-24 20:20:36 +02:00
parent ff2e09e743
commit eb3ad16f88
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
2 changed files with 6 additions and 6 deletions

View file

@ -99,7 +99,7 @@ class Backend extends Process
// allowedtplvalues
(new Para())->items([
(new Label(__('Allowed DC template values:'), Label::OUTSIDE_LABEL_BEFORE))->for('epc_allowedtplvalues'),
(new Input('epc_allowedtplvalues'))->size(100)->maxlenght(0)->value(Epc::encodeMulti($allowedtplvalues)),
(new Input('epc_allowedtplvalues'))->size(100)->maxlength(0)->value(Epc::encodeMulti($allowedtplvalues)),
]),
(new Note())
->class('form-note')
@ -107,7 +107,7 @@ class Backend extends Process
// allowedpubpages
(new Para())->items([
(new Label(__('Allowed public pages:'), Label::OUTSIDE_LABEL_BEFORE))->for('epc_allowedpubpages'),
(new Input('epc_allowedpubpages'))->size(100)->maxlenght(0)->value(Epc::encodeMulti($allowedpubpages)),
(new Input('epc_allowedpubpages'))->size(100)->maxlength(0)->value(Epc::encodeMulti($allowedpubpages)),
]),
(new Note())
->class('form-note')

View file

@ -265,7 +265,7 @@ class Manage extends Process
->for('filter_style' . $k),
(new Input(['filter_style[]', 'filter_style' . $k]))
->size(60)
->maxlenght(255)
->maxlength(255)
->value(Html::escapeHTML($filter->style[$k])),
]);
}
@ -337,7 +337,7 @@ class Manage extends Process
->for('filter_notag'),
(new Input('filter_notag'))
->size(60)
->maxlenght(255)
->maxlength(255)
->value(Epc::encodeSingle($filter->notag)),
]),
(new Note())
@ -406,7 +406,7 @@ class Manage extends Process
->for('new_key'),
(new Input('new_key'))
->size(60)
->maxlenght(255)
->maxlength(255)
->required(true),
]),
(new Para())
@ -415,7 +415,7 @@ class Manage extends Process
->for('new_value'),
(new Input('new_value'))
->size(60)
->maxlenght(255)
->maxlength(255)
->required(true),
]),
(new Para())