Transform the array based on the onChange min/max values.
arr = [
    {id:1, price:10},
    {id:2, price:5},
    {id:3, price:25}.....
    ]
on Change, I get two values:- minimum value and maximum value of price.
Suppose minimum value = 7 and maximum value = 20.
The new array should look like this
arr = [{id:1, price:10}]
 
     
    