Refine classes
This commit is contained in:
parent
98c0bb2cd5
commit
4f6ad08ee1
@ -10,7 +10,7 @@
|
|||||||
</p-floatlabel>
|
</p-floatlabel>
|
||||||
|
|
||||||
@if (tripForm.get("id")?.value === -1) {
|
@if (tripForm.get("id")?.value === -1) {
|
||||||
<div class="grid md:col-span-4 grid-cols-2 gap-2">
|
<div class="md:col-span-full">
|
||||||
<p-floatlabel variant="in">
|
<p-floatlabel variant="in">
|
||||||
<p-datepicker id="daterange" formControlName="daterange" [iconDisplay]="'input'" [showIcon]="true" selectionMode="range" appendTo="body" fluid />
|
<p-datepicker id="daterange" formControlName="daterange" [iconDisplay]="'input'" [showIcon]="true" selectionMode="range" appendTo="body" fluid />
|
||||||
<label for="daterange">Date Range</label>
|
<label for="daterange">Date Range</label>
|
||||||
@ -56,4 +56,4 @@
|
|||||||
<div class="mt-4 text-right">
|
<div class="mt-4 text-right">
|
||||||
<p-button (click)="closeDialog()" [disabled]="!tripForm.dirty || !tripForm.valid">{{ tripForm.get("id")?.value
|
<p-button (click)="closeDialog()" [disabled]="!tripForm.dirty || !tripForm.valid">{{ tripForm.get("id")?.value
|
||||||
!== -1 ? "Update" : "Create" }}</p-button>
|
!== -1 ? "Update" : "Create" }}</p-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user