fixed UI for relation definition

This commit is contained in:
azivner
2018-08-05 20:48:56 +02:00
parent 2089c32839
commit 194ce4f10f
3 changed files with 15 additions and 5 deletions

View File

@@ -606,6 +606,12 @@
<input type="checkbox" value="true" data-bind="checked: labelDefinition.isPromoted" /> Promoted
</div>
<div data-bind="visible: type == 'relation-definition'">
<select data-bind="options: $parent.multiplicityTypes, optionsText: 'text', optionsValue: 'value', value: relationDefinition.multiplicityType"></select>
<input type="checkbox" value="true" data-bind="checked: relationDefinition.isPromoted" /> Promoted
</div>
</td>
<td title="Inheritable relations are automatically inherited to the child notes">
<input type="checkbox" value="1" data-bind="checked: isInheritable" />