inspector: disable root.id input
This commit is contained in:
parent
18d8f36d60
commit
d3df6cc024
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ class UiInspectorField extends UiWidget {
|
|||
|
||||
var input = html`<textarea tabIndex="${this.tabIndex}" class="no-keybinding" name="${this.name}" rows="${stringValue.split('\n').length}"></textarea>`
|
||||
|
||||
if (this.name === 'id' && this.widget.props.type === 'root') input.disabled = true
|
||||
|
||||
if (this.default.value === 'auto' && stringValue === 'auto') {
|
||||
input.placeholder = stringValue
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue