You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have recently upgrade my project from angular 15 to 16 and update this ngx-currency to 4.0.0 version.
However, while im trying to build this application. it throws error as title. and it only occurs to one of the pages that using currencyMask. other page seems fine.
the only particular for this page that it is used by MatDialog.
The text was updated successfully, but these errors were encountered:
@jimkeecn No, I mean import NgxCurrencyDirective into your dialog or page module, not into the AppModule, for sure they are different modules. You don't need to change your component to standalone for this.
<mat-form-field> <mat-label>DRP</mat-label> <input matInput formControlName="drp" autocomplete="off" currencyMask [options]="{prefix: '', suffix: '% ', decimal: '.' }" min="0" max="100"> <mat-error *ngIf="drpForm.get('drp').status == 'INVALID'"> DRP(0% - 100%) </mat-error> </mat-form-field>
I have recently upgrade my project from angular 15 to 16 and update this
ngx-currency
to 4.0.0 version.However, while im trying to build this application. it throws error as title. and it only occurs to one of the pages that using currencyMask. other page seems fine.
the only particular for this page that it is used by MatDialog.
The text was updated successfully, but these errors were encountered: