Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
The 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.
Option | Type | Default | Description |
---|---|---|---|
min_field_options | array | array ( ‘attr’ => array ( ‘placeholder’ => $this->trans(‘Min’, [], ‘Admin.Global’), ‘min’ => 0, ‘step’ => 1, ), ) | Accepts all possible values that IntegerType has* |
max_field_options | array | array ( ‘attr’ => array ( ‘placeholder’ => $this->trans(‘Max’, [], ‘Admin.Global’), ‘min’ => 0, ‘step’ => 1, ), ) | Accepts all possible values that IntegerType has* |
*
- this type overrides step
attribute to 1 due to not allow adding floating point numbers as available option.
None.
This type is built for grid filters usage but can be used in forms as well.