mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Enhancement: better boolean custom field display (#7001)
This commit is contained in:
parent
28db7e84e6
commit
9d4e2d4652
@ -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>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user