Enhancement: better boolean custom field display (#7001)

This commit is contained in:
shamoon 2024-06-15 09:00:18 -07:00 committed by GitHub
parent 28db7e84e6
commit 9d4e2d4652
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,12 @@
}
</div>
}
@case (CustomFieldDataType.Boolean) {
<div class="d-flex flex-row align-items-center">
<span>{{field.name}}:</span>
<input type="checkbox" id="{{field.name}}" name="{{field.name}}" [checked]="value" value="" class="form-check-input ms-2 mt-0 pe-none">
</div>
}
@default {
<span [ngbTooltip]="nameTooltip">{{value}}</span>
}