HFP-1896 Fix metadata form error handling
parent
2a53b7bb7b
commit
8190fe1d42
|
@ -4234,7 +4234,7 @@ class H5PContentValidator {
|
|||
(object) array(
|
||||
'name' => 'yearFrom',
|
||||
'type' => 'number',
|
||||
'label' => $this->h5pF->t('Years (from-to)'),
|
||||
'label' => $this->h5pF->t('Years (from)'),
|
||||
'placeholder' => '1991',
|
||||
'min' => '-9999',
|
||||
'max' => '9999',
|
||||
|
@ -4243,7 +4243,7 @@ class H5PContentValidator {
|
|||
(object) array(
|
||||
'name' => 'yearTo',
|
||||
'type' => 'number',
|
||||
'label' => 'hiddenLabel',
|
||||
'label' => $this->h5pF->t('Years (to)'),
|
||||
'placeholder' => '1992',
|
||||
'min' => '-9999',
|
||||
'max' => '9999',
|
||||
|
|
Loading…
Reference in New Issue