UI: Add toggle to enable/disable metric autocomplete (#8134)

* UI: Add toggle to enable/disable metric autocomplete

This change adds a toggle to enable or disable the metric autocomplete
functionality. By default it is enabled. This is a port of a change I
did in [Thanos][1].

[1]: https://github.com/thanos-io/thanos/pull/3381

Signed-off-by: Jarod Watkins <jarod@42lines.net>

* Adding full variable name

Signed-off-by: Jarod Watkins <jarod@42lines.net>
This commit is contained in:
Jarod Watkins 2020-11-02 10:16:54 -05:00 committed by GitHub
parent 7558e9d3c3
commit 388a2d20c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 77 additions and 34 deletions