Add input id so click on property label set focus in input (#9477)

Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
This commit is contained in:
Bjarne Fyrstenborg
2021-06-02 03:20:56 +02:00
committed by GitHub
parent 3c2e7759fb
commit 57f7776848

View File

@@ -5,6 +5,7 @@
ng-submit="vm.save()"
novalidate
val-form-manager>
<umb-editor-view ng-if="!vm.page.loading">
<umb-editor-header
name="vm.content.name"
@@ -23,8 +24,9 @@
<umb-box-content>
<p ng-bind-html="vm.description"></p>
<umb-property ng-repeat="translation in vm.content.translations | orderBy:'displayName'" property="translation.property">
<textarea rows="2" class="autogrow"
style="width: 100%;"
<textarea rows="2" class="autogrow w-100"
id="{{translation.property.alias}}"
ng-model="translation.translation"
maxlength="1000"
ng-keyup="vm.change(translation)"