mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
Stackdriver: Make service list searchable (#20989)
* remove non-searchable option * fix unit test Signed-off-by: Kevin Labesse <kevin@labesse.me> * fix unit test
This commit is contained in:
parent
83b402165d
commit
26789d1eb6
@ -162,7 +162,6 @@ export class Metrics extends React.Component<Props, State> {
|
|||||||
onChange={this.onServiceChange}
|
onChange={this.onServiceChange}
|
||||||
value={service}
|
value={service}
|
||||||
options={services}
|
options={services}
|
||||||
isSearchable={false}
|
|
||||||
placeholder="Select Services"
|
placeholder="Select Services"
|
||||||
className="width-15"
|
className="width-15"
|
||||||
/>
|
/>
|
||||||
|
@ -31,17 +31,62 @@ Array [
|
|||||||
>
|
>
|
||||||
Select Services
|
Select Services
|
||||||
</div>
|
</div>
|
||||||
<input
|
<div
|
||||||
className="css-14uuagi"
|
className="css-0"
|
||||||
disabled={false}
|
>
|
||||||
id="react-select-2-input"
|
<div
|
||||||
onBlur={[Function]}
|
className="gf-form-select-box__input"
|
||||||
onChange={[Function]}
|
style={
|
||||||
onFocus={[Function]}
|
Object {
|
||||||
readOnly={true}
|
"display": "inline-block",
|
||||||
tabIndex="0"
|
}
|
||||||
value=""
|
}
|
||||||
/>
|
>
|
||||||
|
<input
|
||||||
|
aria-autocomplete="list"
|
||||||
|
autoCapitalize="none"
|
||||||
|
autoComplete="off"
|
||||||
|
autoCorrect="off"
|
||||||
|
disabled={false}
|
||||||
|
id="react-select-2-input"
|
||||||
|
onBlur={[Function]}
|
||||||
|
onChange={[Function]}
|
||||||
|
onFocus={[Function]}
|
||||||
|
spellCheck="false"
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"background": 0,
|
||||||
|
"border": 0,
|
||||||
|
"boxSizing": "content-box",
|
||||||
|
"color": "inherit",
|
||||||
|
"fontSize": "inherit",
|
||||||
|
"opacity": 1,
|
||||||
|
"outline": 0,
|
||||||
|
"padding": 0,
|
||||||
|
"width": "1px",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
tabIndex="0"
|
||||||
|
type="text"
|
||||||
|
value=""
|
||||||
|
/>
|
||||||
|
<div
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"height": 0,
|
||||||
|
"left": 0,
|
||||||
|
"overflow": "scroll",
|
||||||
|
"position": "absolute",
|
||||||
|
"top": 0,
|
||||||
|
"visibility": "hidden",
|
||||||
|
"whiteSpace": "pre",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className="css-0 gf-form-select-box__indicators"
|
className="css-0 gf-form-select-box__indicators"
|
||||||
|
Loading…
Reference in New Issue
Block a user