diff --git a/public/app/plugins/datasource/stackdriver/components/StackdriverPicker.tsx b/public/app/plugins/datasource/stackdriver/components/StackdriverPicker.tsx index 30c17e1f983..349c4c33b58 100644 --- a/public/app/plugins/datasource/stackdriver/components/StackdriverPicker.tsx +++ b/public/app/plugins/datasource/stackdriver/components/StackdriverPicker.tsx @@ -5,7 +5,7 @@ import Select from 'app/core/components/Select/Select'; export interface Props { onChange: (value: string) => void; options: any[]; - searchable: boolean; + isSearchable: boolean; selected: string; placeholder?: string; className?: string; @@ -74,7 +74,7 @@ export class StackdriverPicker extends React.Component { } render() { - const { placeholder, className, searchable, onChange } = this.props; + const { placeholder, className, isSearchable, onChange } = this.props; const { options } = this.state; const selectedOption = this.getSelectedOption(); @@ -86,7 +86,7 @@ export class StackdriverPicker extends React.Component { backspaceRemovesValue={false} onChange={item => onChange(item.value)} options={options} - isSearchable={searchable} + isSearchable={isSearchable} maxMenuHeight={500} placeholder={placeholder} noOptionsMessage={() => 'No options found'} diff --git a/public/app/plugins/datasource/stackdriver/partials/query.aggregation.html b/public/app/plugins/datasource/stackdriver/partials/query.aggregation.html index 254c7b812cb..3ffcb1d7bbf 100755 --- a/public/app/plugins/datasource/stackdriver/partials/query.aggregation.html +++ b/public/app/plugins/datasource/stackdriver/partials/query.aggregation.html @@ -5,7 +5,7 @@ onChange="ctrl.handleAggregationChange" selected="ctrl.target.aggregation.crossSeriesReducer" options="ctrl.aggOptions" - searchable="true" + is-searchable="true" placeholder="'Select Aggregation'" className="'width-15'" template-variables="ctrl.templateSrv.variables" @@ -28,7 +28,7 @@ onChange="ctrl.handleAlignmentChange" selected="ctrl.target.aggregation.perSeriesAligner" options="ctrl.alignOptions" - searchable="true" + is-searchable="true" placeholder="'Select Alignment'" className="'width-15'" template-variables="ctrl.templateSrv.variables" @@ -45,7 +45,7 @@ onChange="ctrl.handleAlignmentPeriodChange" selected="ctrl.target.aggregation.alignmentPeriod" options="ctrl.alignmentPeriods" - searchable="true" + is-searchable="true" placeholder="'Select Alignment'" className="'width-15'" template-variables="ctrl.templateSrv.variables" diff --git a/public/app/plugins/datasource/stackdriver/partials/query.filter.html b/public/app/plugins/datasource/stackdriver/partials/query.filter.html index a509aa44e62..4b87e4d8d44 100644 --- a/public/app/plugins/datasource/stackdriver/partials/query.filter.html +++ b/public/app/plugins/datasource/stackdriver/partials/query.filter.html @@ -5,7 +5,7 @@ onChange="ctrl.handleServiceChange" selected="ctrl.target.service" options="ctrl.services" - searchable="false" + is-searchable="false" placeholder="'Select Services'" className="'width-15'" > @@ -21,7 +21,7 @@ options="ctrl.getMetricsList()" template-variables="ctrl.templateSrv.variables" group-name="'Metric Types'" - searchable="true" + is-searchable="true" placeholder="'Select Metric'" className="'width-15'" > diff --git a/public/app/plugins/datasource/stackdriver/query_ctrl.ts b/public/app/plugins/datasource/stackdriver/query_ctrl.ts index 21928686122..8b21a589a07 100644 --- a/public/app/plugins/datasource/stackdriver/query_ctrl.ts +++ b/public/app/plugins/datasource/stackdriver/query_ctrl.ts @@ -67,7 +67,7 @@ export class StackdriverQueryCtrl extends QueryCtrl { 'options', 'onChange', 'selected', - 'searchable', + 'isSearchable', 'className', 'placeholder', 'groupName',