fixed type selector
This commit is contained in:
parent
5e8129b440
commit
0f7bbacce3
|
@ -86,8 +86,8 @@ class CCPInputWidgetEditorController extends HTMLElement{
|
||||||
<div class="form-field" title="Type">
|
<div class="form-field" title="Type">
|
||||||
<label>Type</label>
|
<label>Type</label>
|
||||||
<select name="type" class="form-control" placeholder="type" value="${this.#type}" ${ input.id === 'ccpimage' ? 'readonly' : ''}>
|
<select name="type" class="form-control" placeholder="type" value="${this.#type}" ${ input.id === 'ccpimage' ? 'readonly' : ''}>
|
||||||
<option value="string">String</option>
|
<option value="string" ${this.#type === "string" ? "selected" : ""}>String</option>
|
||||||
<option value="enum">Enum</option>
|
<option value="enum" ${this.#type === "enum" ? "selected" : ""}>Enum</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue