Skip to content

Commit

Permalink
update event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Sep 6, 2018
1 parent f9e22ab commit a6bd8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/assets/src/visualizations/filter_box.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class FilterBox extends React.Component {
name={TIME_RANGE}
label={t('Time range')}
description={t('Select start and end date')}
onChange={(value) => { this.changeFilter(TIME_RANGE, value); }}
onChange={(...args) => { this.changeFilter(TIME_RANGE, ...args); }}
value={this.state.selectedValues[TIME_RANGE]}
/>
</div>
Expand Down Expand Up @@ -219,7 +219,7 @@ class FilterBox extends React.Component {
};
return { value: opt.id, label: opt.id, style };
})}
onChange={(value) => { this.changeFilter(key, value); }}
onChange={(...args) => { this.changeFilter(key, ...args); }}
selectComponent={Creatable}
selectWrap={VirtualizedSelect}
optionRenderer={VirtualizedRendererWrap(opt => opt.label)}
Expand Down

0 comments on commit a6bd8c0

Please sign in to comment.