fix: ui boolean default values
This commit is contained in:
parent
3509c83501
commit
d49ef8355d
|
@ -880,10 +880,10 @@ $logs = $this->getParam('logs', null);
|
|||
|
||||
<div class="margin-bottom-large">
|
||||
<template x-if="!(array || required)">
|
||||
<input name="xdefault" class="button switch" type="checkbox" />
|
||||
<input name="xdefault" class="button switch" type="checkbox" />
|
||||
</template>
|
||||
<template x-if="(array || required)">
|
||||
<input name="xdefault" class="button switch" type="checkbox" disabled />
|
||||
<input name="" class="button switch" type="checkbox" disabled />
|
||||
</template>
|
||||
Default Value <span class="tooltip" data-tooltip="Whether this attribute is set to true or false on creation"><i class="icon-info-circled"></i></span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue