symfony/symfony — Issue #3018: error_bubbling => false doesn't work with date field
Author: kjaniszewski
Created: 2012-01-02 22:13:50+00:00
State: open

Hi!

I've just noticied, that error_bubbling set to false for field type 'date' doesn't make any effect.

$builder->add('receipt_time', 'date', array(
'required' => true,
'input' => 'string',
'error_bubbling' => false
));

error for field above are displayed as form errors.

$builder->add('receipt_time', 'text', array(
'required' => true,
'input' => 'string',
'error_bubbling' => false
));

errors from above are displayed correctly as field errors.

Please fix asap.

Best regards
Krzychu