fixed type selector

This commit is contained in:
dcore94 2023-09-27 16:59:44 +02:00
parent b8c0ea4279
commit 5e8129b440
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class CCPInputWidgetEditorController extends HTMLElement{
<div class="col-3">
<div class="form-field" title="Type">
<label>Type</label>
<select name="type" class="form-control" placeholder="type" value="${input.schema.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="enum">Enum</option>
</select>