mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
autocomplete for attribute names, issue #31
This commit is contained in:
@@ -400,7 +400,7 @@
|
||||
<tr>
|
||||
<td data-bind="text: attributeId"></td>
|
||||
<td>
|
||||
<input type="text" data-bind="value: name, event: { change: $parent.attributeChanged }"/>
|
||||
<input type="text" class="attribute-name" data-bind="value: name, event: { change: $parent.attributeChanged }"/>
|
||||
|
||||
<div style="color: red" data-bind="if: $parent.isNotUnique($index())">Attribute name must be unique per note.</div>
|
||||
<div style="color: red" data-bind="if: $parent.isEmptyName($index())">Attribute name can't be empty.</div>
|
||||
|
||||
Reference in New Issue
Block a user