mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +01:00
supannRessourceEtat & supannRessourceEtatDate: add empty possible value to required components to allow empty value
This commit is contained in:
parent
3c7ec2890a
commit
25162f406d
2 changed files with 4 additions and 0 deletions
|
@ -39,12 +39,14 @@ class LSformElement_supannRessourceEtat extends LSformElement_supannCompositeAtt
|
|||
'ressource' => array (
|
||||
'label' => _('Resource'),
|
||||
'type' => 'select',
|
||||
'possible_values' => array('' => '-'),
|
||||
'get_possible_values' => 'supannGetRessourcePossibleValues',
|
||||
'required' => true,
|
||||
),
|
||||
'etat' => array (
|
||||
'label' => _('State'),
|
||||
'type' => 'select',
|
||||
'possible_values' => array('' => '-'),
|
||||
'get_possible_values' => 'supannGetRessourceEtatPossibleValues',
|
||||
'required' => true,
|
||||
),
|
||||
|
|
|
@ -39,12 +39,14 @@ class LSformElement_supannRessourceEtatDate extends LSformElement_supannComposit
|
|||
'ressource' => array (
|
||||
'label' => _('Resource'),
|
||||
'type' => 'select',
|
||||
'possible_values' => array('' => '-'),
|
||||
'get_possible_values' => 'supannGetRessourcePossibleValues',
|
||||
'required' => true,
|
||||
),
|
||||
'etat' => array (
|
||||
'label' => _('State'),
|
||||
'type' => 'select',
|
||||
'possible_values' => array('' => '-'),
|
||||
'get_possible_values' => 'supannGetRessourceEtatPossibleValues',
|
||||
'required' => true,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue