moved comment

This commit is contained in:
Lone Iversen
2023-08-31 13:55:14 +02:00
parent e3870ae795
commit b80d62d8cf

View File

@@ -186,7 +186,6 @@ export class UmbDocumentTypeWorkspacePropertyElement extends UmbLitElement {
label="label"
.value=${this.property.name}
@input=${this.#onNameChange}></uui-input>
<!-- TODO: should use UUI-LOCK-INPUT, but that does not fire an event when its locked/unlocked -->
${this.renderPropertyAlias()}
<slot name="property-action-menu"></slot>
<p>
@@ -252,6 +251,7 @@ export class UmbDocumentTypeWorkspacePropertyElement extends UmbLitElement {
@input=${(e: CustomEvent) => {
if (e.target) this._singleValueUpdate('alias', (e.target as HTMLInputElement).value);
}}>
<!-- TODO: should use UUI-LOCK-INPUT, but that does not fire an event when its locked/unlocked -->
<!-- TODO: validation for bad characters -->
<div @click=${this.#onToggleAliasLock} @keydown=${() => ''} id="alias-lock" slot="prepend">
<uui-icon name=${this._aliasLocked ? 'umb:lock' : 'umb:unlocked'}></uui-icon>