add support for number precision in promoted attributes, closes #245

This commit is contained in:
azivner
2018-11-30 17:36:41 +01:00
parent 4577b03fc9
commit ba7c8e77e5
4 changed files with 17 additions and 4 deletions

View File

@@ -64,6 +64,11 @@
data-bind="checked: labelDefinition.isPromoted"/>
Promoted
</label>
<div data-bind="visible: labelDefinition.labelType === 'number'"
title="Precision of floating point numbers - 0 means effectively integer, 2 allows entering e.g. 1.23">
Number precision: <input type="number" min="0" max="9" data-bind="value: labelDefinition.numberPrecision" style="width: 50px;"/>
</div>
</div>
<div data-bind="visible: type == 'relation-definition'">