Skip to content

Styles are not working properly after upgrade angular 18 to 19. And also there any replacement of theme "mdc-light-deeppurple" in angualr 19 #88

@harsh-accrete

Description

@harsh-accrete

Styles are not working properly after upgrade angular 18 to 19:
Please refer following screenshot:
First Screenshot Angular 18:
Image
Second Screenshot Angular 19:
Image

You can see that after angular 19 upgrade formatting is totally change. Please help for this and suggest.

Code:

WorkFlow

Please complate all required columns
Enter Workflow Name *
            <div class="field col-4">
                <label for="natureOfActivityId">Nature of Activity <span>*</span></label>
                <p-dropdown
                    [options]="NATURE_OF_ACTIVITY_DATA"
                    optionLabel="natureOfActivityName"
                    placeholder="Select Nature of Activity"
                    [filter]="true"
                    optionValue="natureOfActivityId"
                    filterBy="natureOfActivityName"
                    [showClear]="true"
                    formControlName="natureOfActivityId"
                >
                    <ng-template let-activity pTemplate="item">
                        <div>{{ activity.natureOfActivityName }}</div>
                    </ng-template>
                </p-dropdown>
                <span
                    *ngIf="
                        natureOfActivityId?.touched &&
                        natureOfActivityId?.invalid
                    "
                    >Select Nature of Activity</span
                >
            </div>

            <div class="field col-4" *ngIf="natureOfActivityId?.value == 1">
                <label for="capitalExpenseID">Nature Of Expense</label>
                <p-dropdown
                    [options]="CAPITAL_DATA"
                    optionLabel="capitalExpenseName"
                    placeholder="Select Capital Expense"
                    [filter]="true"
                    optionValue="capitalExpenseID"
                    filterBy="capitalExpenseName"
                    [showClear]="true"
                    formControlName="capitalExpenseID"
                >
                    <ng-template let-activity pTemplate="item">
                        <div>{{ activity.capitalExpenseName }}</div>
                    </ng-template>
                </p-dropdown>
                <span
                    *ngIf="
                        capitalExpenseID?.touched &&
                        capitalExpenseID?.invalid
                    "
                    >Select Capital Expense</span
                >
            </div>
            <div class="field col-4" *ngIf="natureOfActivityId?.value == 1">

            </div>
            <div class="field col-8" *ngIf="natureOfActivityId?.value != 1">

            </div>
            

            <div class="field col-4" *ngIf="natureOfActivityId?.value == 1">
                <label for="componetId">Component</label>
                <p-dropdown
                    [options]="COMPONET_DATA"
                    optionLabel="componetName"
                    placeholder="Select Component"
                    [filter]="true"
                    optionValue="componetId"
                    filterBy="componetName"
                    [showClear]="true"
                    formControlName="componetId"
                    (onChange)="GetActivityByComponetID($event.value)"
                >
                    <ng-template let-componet pTemplate="item">
                        <div>{{ componet.componetName }}</div>
                    </ng-template>
                </p-dropdown>
                <span *ngIf="componetId?.touched && componetId?.invalid"
                    >Select Component</span
                >
            </div>

            <div class="field col-4" *ngIf="natureOfActivityId?.value == 1">
                <label for="activityId">Sub Component</label>
                <p-dropdown
                    [options]="ACTIVITY_DATA"
                    optionLabel="activityName"
                    placeholder="Select Sub Component"
                    [filter]="true"
                    optionValue="activityId"
                    filterBy="activityName"
                    [showClear]="true"
                    formControlName="activityId"
                    (onChange)="GetSubActivityByActivityID($event.value)"
                >
                    <ng-template let-activity pTemplate="item">
                        <div>{{ activity.activityName }}</div>
                    </ng-template>
                </p-dropdown>
            </div>

            <div class="field col-4" *ngIf="natureOfActivityId?.value == 1">
                <label for="subActivityId">Activity</label>
                <p-dropdown
                    [options]="SUB_ACTIVITY_DATA"
                    optionLabel="subActivityName"
                    placeholder="Activity"
                    [filter]="true"
                    optionValue="subActivityId"
                    filterBy="subActivityName"
                    [showClear]="true"
                    formControlName="subActivityId"
                    (onChange)="
                        GetSubToSubActivityBySubActivityID($event.value)
                    "
                >
                    <ng-template let-subactivity pTemplate="item">
                        <div>{{ subactivity.subActivityName }}</div>
                    </ng-template>
                </p-dropdown>
            </div>

            <div class="field col-4" *ngIf="natureOfActivityId?.value == 1">
                <label for="subToSubActivityId">Sub Activity</label>
                <p-dropdown
                    [options]="SUB_TO_SUB_ACTIVITY_DATA"
                    optionLabel="subToSubActivityName"
                    placeholder="Sub Activity"
                    [filter]="true"
                    optionValue="subToSubActivityId"
                    filterBy="subToSubActivityName"
                    [showClear]="true"
                    formControlName="subToSubActivityId"

                >
                    <ng-template let-subtosubactivity pTemplate="item">
                        <div>
                            {{ subtosubactivity.subToSubActivityName }}
                        </div>
                    </ng-template>
                </p-dropdown>
            </div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions