Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page
IntegerMinMaxFilterType represents two
IntegerType fields - one holds minimum value of integer type and other holds maximum value.
IntegerType is one of the native symfony types.
|min_field_options||array||array ( ‘attr’ => array ( ‘placeholder’ => $this->trans(‘Min’, , ‘Admin.Global’), ‘min’ => 0, ‘step’ => 1, ), )||Accepts all possible values that
|max_field_options||array||array ( ‘attr’ => array ( ‘placeholder’ => $this->trans(‘Max’, , ‘Admin.Global’), ‘min’ => 0, ‘step’ => 1, ), )||Accepts all possible values that
* - this type overrides
step attribute to 1 due to not allow adding floating point numbers as available option.
This type is built for grid filters usage but can be used in forms as well.