Skip to content

Commit

Permalink
Autofocus aggregation in metric control (apache#5717)
Browse files Browse the repository at this point in the history
* Focus button

* Move autofocus to aggregation

(cherry picked from commit f83ea23)
  • Loading branch information
betodealmeida authored and mistercrunch committed Sep 19, 2018
1 parent 9e630ff commit 50f3528
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default class AdhocMetricEditPopover extends React.Component {
</FormGroup>
<FormGroup>
<ControlLabel><strong>aggregate</strong></ControlLabel>
<OnPasteSelect {...this.selectProps} {...aggregateSelectProps} />
<OnPasteSelect autoFocus {...this.selectProps} {...aggregateSelectProps} />
</FormGroup>
</Tab>
<Tab className="adhoc-metric-edit-tab" eventKey={EXPRESSION_TYPES.SQL} title="Custom SQL">
Expand Down

0 comments on commit 50f3528

Please sign in to comment.