Content Type Designer: Only update tab name on change (#20786)

Do not update tab name on input, as it is inappropriate when having name conflicts
This commit is contained in:
Niels Lyngsø
2025-11-20 10:37:22 +01:00
committed by GitHub
parent 75dd9fab2b
commit f70f6d4aba
3 changed files with 5 additions and 6 deletions

View File

@@ -604,7 +604,6 @@ export class UmbContentTypeDesignEditorElement extends UmbLitElement implements
auto-width auto-width
minlength="1" minlength="1"
@change=${(e: InputEvent) => this.#tabNameChanged(e, tab)} @change=${(e: InputEvent) => this.#tabNameChanged(e, tab)}
@input=${(e: InputEvent) => this.#tabNameChanged(e, tab)}
@blur=${(e: FocusEvent) => this.#tabNameBlur(e, tab)}> @blur=${(e: FocusEvent) => this.#tabNameBlur(e, tab)}>
${this.renderDeleteFor(tab)} ${this.renderDeleteFor(tab)}
</uui-input> </uui-input>

View File

@@ -8,7 +8,7 @@
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@umbraco/json-models-builders": "^2.0.42", "@umbraco/json-models-builders": "^2.0.42",
"@umbraco/playwright-testhelpers": "^17.0.9", "@umbraco/playwright-testhelpers": "^17.0.10",
"camelize": "^1.0.0", "camelize": "^1.0.0",
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"node-fetch": "^2.6.7" "node-fetch": "^2.6.7"
@@ -67,9 +67,9 @@
} }
}, },
"node_modules/@umbraco/playwright-testhelpers": { "node_modules/@umbraco/playwright-testhelpers": {
"version": "17.0.9", "version": "17.0.10",
"resolved": "https://registry.npmjs.org/@umbraco/playwright-testhelpers/-/playwright-testhelpers-17.0.9.tgz", "resolved": "https://registry.npmjs.org/@umbraco/playwright-testhelpers/-/playwright-testhelpers-17.0.10.tgz",
"integrity": "sha512-8y2/Rjskhf5gcF+ebJfxUCCkHTcGmKQqtVMLg9hRKVjhI+3bs642+GJL0tK4MPvoSK64JhfiKmo+IhI5zrtokg==", "integrity": "sha512-5yHUK8GbqPZ+9P2/3PdudeQAA0w0Nzl9nPUy+rBKpE4e41F/kDpAHbSPIjoQ0oNG26ASmYzL+IVuIGE/iJJwaw==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@umbraco/json-models-builders": "2.0.42", "@umbraco/json-models-builders": "2.0.42",

View File

@@ -23,7 +23,7 @@
}, },
"dependencies": { "dependencies": {
"@umbraco/json-models-builders": "^2.0.42", "@umbraco/json-models-builders": "^2.0.42",
"@umbraco/playwright-testhelpers": "^17.0.9", "@umbraco/playwright-testhelpers": "^17.0.10",
"camelize": "^1.0.0", "camelize": "^1.0.0",
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"node-fetch": "^2.6.7" "node-fetch": "^2.6.7"