Commit c82d5f86 by Torkel Ödegaard

fix(singlestat): fixed minor editor blur issue on decimal option that did not…

fix(singlestat): fixed minor editor blur issue on decimal option that did not cause update of rendered value, fixes #5004
parent 51940fa2
...@@ -67,12 +67,10 @@ ...@@ -67,12 +67,10 @@
dropdown-typeahead="ctrl.unitFormats" dropdown-typeahead="ctrl.unitFormats"
dropdown-typeahead-on-select="ctrl.setUnitFormat($subItem)"> dropdown-typeahead-on-select="ctrl.setUnitFormat($subItem)">
</li> </li>
<li class="tight-form-item"> <li class="tight-form-item">Decimals</li>
Decimals
</li>
<li> <li>
<input type="number" class="input-small tight-form-input last" placeholder="auto" bs-tooltip="'Override automatic decimal precision for legend and tooltips'" data-placement="right" <input type="number" class="input-small tight-form-input last" placeholder="auto" bs-tooltip="'Override automatic decimal precision for legend and tooltips'" data-placement="right"
ng-model="ctrl.panel.decimals" ng-change="ctrl.render()" ng-model-onblur> ng-model="ctrl.panel.decimals" ng-change="ctrl.refresh()" ng-model-onblur>
</li> </li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
......
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