💄 Trip: Create item modal QoL improvements
This commit is contained in:
parent
704ea43903
commit
767a25812d
@ -4,7 +4,7 @@
|
|||||||
@if (itemForm.get('id')?.value !== -1) {
|
@if (itemForm.get('id')?.value !== -1) {
|
||||||
<p-floatlabel variant="in" class="min-w-0">
|
<p-floatlabel variant="in" class="min-w-0">
|
||||||
<p-select [options]="days" optionValue="id" optionLabel="label" inputId="day_id" id="day_id"
|
<p-select [options]="days" optionValue="id" optionLabel="label" inputId="day_id" id="day_id"
|
||||||
formControlName="day_id" [checkmark]="true" fluid>
|
scrollHeight="320px" appendTo="body" formControlName="day_id" [checkmark]="true" fluid>
|
||||||
<ng-template let-day #item>
|
<ng-template let-day #item>
|
||||||
<div class="whitespace-normal">{{ day.label }}</div>
|
<div class="whitespace-normal">{{ day.label }}</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
@ -13,8 +13,8 @@
|
|||||||
</p-floatlabel>
|
</p-floatlabel>
|
||||||
} @else {
|
} @else {
|
||||||
<p-multiselect [options]="days" optionValue="id" optionLabel="label" formControlName="day_id" placeholder="Days"
|
<p-multiselect [options]="days" optionValue="id" optionLabel="label" formControlName="day_id" placeholder="Days"
|
||||||
[filter]="false" [showToggleAll]="false" display="chip" styleClass="flex items-center"
|
[filter]="false" [showToggleAll]="false" display="chip" styleClass="flex items-center" scrollHeight="320px"
|
||||||
selectedItemsLabel="{0} days selected" fluid>
|
appendTo="body" selectedItemsLabel="{0} days selected" fluid>
|
||||||
<ng-template let-day #item>
|
<ng-template let-day #item>
|
||||||
<div class="whitespace-normal">{{ day.label }}</div>
|
<div class="whitespace-normal">{{ day.label }}</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user