You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package suggests to require laminas/laminas-i18n with the following notice ^2.11, required when using laminas-form view helpers, but when using a Range Element the getValidators method instantiates a new Laminas\I18n\Validator\IsFloat.
Current behavior
How to reproduce
Make sure the suggested package is not installed:
composer remove laminas/laminas-i18n
Run this code:
$form = (new \Laminas\Form\Form())->add(
(new \Laminas\Form\Element\Range('range'))
->setAttributes(['min' => 1, 'max' => 10])
);
$form->getInputFilter(); // Class \"Laminas\\I18n\\Validator\\IsFloat\" not found
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
The package suggests to require
laminas/laminas-i18n
with the following notice^2.11, required when using laminas-form view helpers
, but when using a Range Element thegetValidators
method instantiates a newLaminas\I18n\Validator\IsFloat
.Current behavior
How to reproduce
Make sure the suggested package is not installed:
Run this code:
The text was updated successfully, but these errors were encountered: