Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: b1be7fd5c33e8f38908dbeea24b689fc3d103df1
https://github.com/tribe29/checkmk/commit/b1be7fd5c33e8f38908dbeea24b689fc3…
Author: Kenneth Okoh <kenneth.okoh(a)tribe29.com>
Date: 2022-06-14 (Tue, 14 Jun 2022)
Changed paths:
A .werks/13922
M cmk/gui/plugins/webapi/autocompleters.py
M web/htdocs/js/modules/valuespecs.js
Log Message:
-----------
13922 FIX UI dropdowns: Preserve given value on page load
Upon initialization of autocompleter dropdowns, given values were sometimes unexpectedly
erased and the dropdown left empty.
E.g. when editing a single metric dashlet or creating a forecast graph, given values for
service description and metric name were sometimes removed upon loading the form. This is
fixed to always show the given value of autocompleter dropdowns upon loading the
respective page.
Also on page load, the values of tag filters are now filled out with their proper title
and not as before with their id.
CMK-10145
Change-Id: Ia20fcd24a54aae8c054ed41238209ee34479de24