Y
Y
Yuri Voronin2016-10-19 12:16:56
PHP
Yuri Voronin, 2016-10-19 12:16:56

How can I make the filter show the values ​​of the price range by default?

I add the catalog component, I turn on the display of a smart filter. And if the slider is in its extreme positions, then the fields where the price is displayed are empty.
2e124dcae5224793905b552ec0b1062b.png
If the slider starts moving, the values ​​appear.
357c69daafb7434e9d72865eea520769.png
how to make it always show values ​​in inputs?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Voronin, 2016-10-24
@yuraSco

I settled on the following solution (suggested by Anumik ) I
set the placeholder equal to the minimum and maximum values. Well, I changed the color of placeholder`a.

D
Denis Gorokhov, 2016-10-19
@gorokhov_dv

In the component template that is being used. Find a place with inputs and put down the values ​​of the minimum and maximum, they are in the resulting array.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question