Commit 49289848 by Erik Sundell

set issearchable default value to true

parent 102a130a
......@@ -22,6 +22,7 @@ export class MetricSelect extends React.Component<Props, State> {
static defaultProps = {
variables: [],
options: [],
isSearchable: true,
};
constructor(props) {
......
......@@ -5,7 +5,6 @@
onChange="ctrl.handleAggregationChange"
value="ctrl.target.aggregation.crossSeriesReducer"
options="ctrl.aggOptions"
is-searchable="true"
placeholder="'Select Aggregation'"
className="'width-15'"
variables="ctrl.templateSrv.variables"
......@@ -28,7 +27,6 @@
onChange="ctrl.handleAlignmentChange"
value="ctrl.target.aggregation.perSeriesAligner"
options="ctrl.alignOptions"
is-searchable="true"
placeholder="'Select Alignment'"
className="'width-15'"
variables="ctrl.templateSrv.variables"
......@@ -45,7 +43,6 @@
onChange="ctrl.handleAlignmentPeriodChange"
value="ctrl.target.aggregation.alignmentPeriod"
options="ctrl.alignmentPeriods"
is-searchable="true"
placeholder="'Select Alignment'"
className="'width-15'"
variables="ctrl.templateSrv.variables"
......
......@@ -21,7 +21,6 @@
options="ctrl.getMetricsList()"
variables="ctrl.templateSrv.variables"
group-name="'Metric Types'"
is-searchable="true"
placeholder="'Select Metric'"
className="'width-15'"
></metric-select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment