skip to Main Content

Javascript – Propagate invalid state to custom form control

in my app iam using my custom datetime picker(it consists of text input and material datepicker)- code looks like this: <div fxLayoutAlign="center center" fxLayoutGap="10px" [formGroup]="form"> <mat-form-field appearance="outline" class="no-padding no-underline" [class.mat-form-field-invalid]="control?.invalid&&!control.hasError('badTime')" [class.ng-invalid]="control?.invalid&&!control.hasError('badTime')"> <mat-label>{{label}}</mat-label> <input matInput [matDatepicker]="picker" [max]="max" [min]="min" (dateChange)="changeDate($event)" readonly formControlName="date"…

VIEW QUESTION

Html – [tag][error] TypeError: (0 , os_1.availableParallelism) is not a function

I am getting these errors when I tried to build the Angular project angular-errorw.log [error] TypeError: (0 , os_1.availableParallelism) is not a function at Object.<anonymous> (C:UsersanikeOneDriveecommerce-project3-frontendangular-ecommercenode_modulespiscinadistsrcindex.js:37:54) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require…

VIEW QUESTION
Back To Top
Search