From e8936827231000cc23466f0b8839d27190d4fda0 Mon Sep 17 00:00:00 2001 From: Jan Skovgaard <1932158+BatJan@users.noreply.github.com> Date: Thu, 23 Oct 2025 13:02:05 +0200 Subject: [PATCH] Don't call generateAlias on #onAliasChange() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently it's not possible to use characters like "_" and "-" in aliases due to this check - At least that is was @nul800sebastiaan told me 😇 Suggested fix for #20622 --- .../views/settings/property-workspace-view-settings.element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/content/property-type/workspace/views/settings/property-workspace-view-settings.element.ts b/src/Umbraco.Web.UI.Client/src/packages/content/property-type/workspace/views/settings/property-workspace-view-settings.element.ts index b12707f699..7bef08e813 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/content/property-type/workspace/views/settings/property-workspace-view-settings.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/content/property-type/workspace/views/settings/property-workspace-view-settings.element.ts @@ -108,7 +108,7 @@ export class UmbPropertyTypeWorkspaceViewSettingsElement extends UmbLitElement i #onAliasChange() { // TODO: Why can I not get the correct value via event? Is it an issue in uui library too? - const alias = generateAlias(this._aliasInput.value.toString()); + const alias = this._aliasInput.value.toString(); this.updateValue({ alias }); }