Merge pull request 'fixed init of checked for readonly' (#6) from master into ccp-features
Reviewed-on: gCubeSystem/cdn-experiments#6
This commit is contained in:
commit
ab85b8e473
|
@ -128,7 +128,7 @@ class CCPInputWidgetEditorController extends HTMLElement{
|
|||
<div class="col" title="Read only">
|
||||
<label>Read only</label>
|
||||
<div class="form-field">
|
||||
<input type="checkbox" checked="${this.#input.schema.readOnly}" name="readonly" class="form-check-input">
|
||||
<input type="checkbox" ${this.#input.schema.readOnly ? 'checked' : ''} name="readonly" class="form-check-input">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue