Search & show listings
This commit is contained in:
@@ -8,6 +8,10 @@ export default class Filters extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
onMinPriceChange (e) {
|
||||
this.props.dispatch({type: 'SET_MIN_PRICE', action: {minPrice: e.target.value}})
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
return (
|
||||
@@ -21,11 +25,11 @@ export default class Filters extends React.Component {
|
||||
|
||||
<div className="filter-row">
|
||||
<div className="filter-title">
|
||||
CIJENA
|
||||
CIJENA
|
||||
</div>
|
||||
|
||||
<div className="filter-content value-between-box">
|
||||
izmedju <input></input> i <input></input>
|
||||
izmedju <input value={`${this.props.filters.minPrice}`} onChange={this.onMinPriceChange.bind(this)}></input> KM i <input></input>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user