Hide immutable type field in color strip source edit modal

Type is set at creation and cannot be changed, so hide the selector
when editing (same pattern already used in value source editor).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 16:45:51 +03:00
parent 8fa89903e9
commit dac0c2d418
2 changed files with 4 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
<input type="text" id="css-editor-name" data-i18n-placeholder="color_strip.name.placeholder" placeholder="Wall Strip" required>
</div>
<div class="form-group">
<div id="css-editor-type-group" class="form-group">
<div class="label-row">
<label for="css-editor-type" data-i18n="color_strip.type">Type:</label>
<button type="button" class="hint-toggle" onclick="toggleHint(this)" title="?" data-i18n-aria-label="aria.hint">?</button>