Skip to content

Commit e893682

Browse files
BatJannul800sebastiaan
authored andcommitted
Don't call generateAlias on #onAliasChange()
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
1 parent d9c201e commit e893682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/content/property-type/workspace/views/settings/property-workspace-view-settings.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class UmbPropertyTypeWorkspaceViewSettingsElement extends UmbLitElement i
108108

109109
#onAliasChange() {
110110
// TODO: Why can I not get the correct value via event? Is it an issue in uui library too?
111-
const alias = generateAlias(this._aliasInput.value.toString());
111+
const alias = this._aliasInput.value.toString();
112112
this.updateValue({ alias });
113113
}
114114

0 commit comments

Comments
 (0)