Skip to content

Commit

Permalink
[Form][DateTime] Propagate invalid_message & invalid_message paramete…
Browse files Browse the repository at this point in the history
…rs to date & time sub widgets
  • Loading branch information
GeLoLabs authored and webmozart committed Sep 25, 2014
1 parent 87123f6 commit ea4ae74
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -117,6 +117,8 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'empty_value',
'required',
'translation_domain',
'invalid_message',
'invalid_message_parameters',
)));

$timeOptions = array_intersect_key($options, array_flip(array(
Expand All @@ -128,6 +130,8 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'empty_value',
'required',
'translation_domain',
'invalid_message',
'invalid_message_parameters',
)));

if (null !== $options['date_widget']) {
Expand Down

0 comments on commit ea4ae74

Please sign in to comment.