Details
Description
Element.php, line 2000
$instance = new $name;
This way Zenf_Validator_Float::__construct gets no locale passed and failes validations for i18n numbers.
Element.php, line 2000
$instance = new $name;
This way Zenf_Validator_Float::__construct gets no locale passed and failes validations for i18n numbers.
No bug of Zend_Form.
Simply give the option when adding the validator:
Example:
$element->addValidator('Float', 'cn_ZH');$element->addValidator('Float', 'cn_ZH');