mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix deprecations: deprecated property and empty_values
This commit is contained in:
parent
f7631af1fd
commit
696dd8f0d0
@ -45,8 +45,8 @@ class ClosingMotiveType extends AbstractType
|
|||||||
$resolver->setDefaults(array(
|
$resolver->setDefaults(array(
|
||||||
'class' => 'ChillPersonBundle:AccompanyingPeriod\ClosingMotive',
|
'class' => 'ChillPersonBundle:AccompanyingPeriod\ClosingMotive',
|
||||||
'empty_data' => null,
|
'empty_data' => null,
|
||||||
'empty_value' => 'Choose a motive',
|
'placeholder' => 'Choose a motive',
|
||||||
'property' => 'name['.$this->locale.']'
|
'choice_label' => 'name['.$this->locale.']'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user