HFP-1897 Set correct field types and boundaries

pull/52/head
Oliver Tacke 2018-05-29 17:23:06 +02:00
parent 47be831f49
commit a30a93e62e
1 changed files with 6 additions and 2 deletions

View File

@ -4220,16 +4220,20 @@ class H5PContentValidator {
),
(object) array(
'name' => 'yearFrom',
'type' => 'text',
'type' => 'number',
'label' => $this->h5pF->t('Years (from-to)'),
'placeholder' => '1991',
'min' => '-9999',
'max' => '9999',
'optional' => TRUE
),
(object) array(
'name' => 'yearTo',
'type' => 'text',
'type' => 'number',
'label' => 'hiddenLabel',
'placeholder' => '1992',
'min' => '-9999',
'max' => '9999',
'optional' => TRUE
),
(object) array(