JsDaddy / ngx-mask

Angular Plugin to make masks on form fields and html elements.
https://jsdaddy.github.io/ngx-mask
MIT License
1.16k stars 300 forks source link

Not working for v16 #1241

Closed NauPareja closed 1 year ago

NauPareja commented 1 year ago

Version

NgxMask: 16.1.7

Angular:

Component Module

import { NgxMaskDirective, NgxMaskPipe, provideNgxMask } from 'ngx-mask';

@NgModule({
  declarations: [DemoComponent, OauthComponent],
  imports: [
    CommonModule,
    DemoRoutingModule,
    NgxTippyModule,
    MatDialogModule,
    ReactiveFormComponent,
    TableComponent,
    ModalComponent,
    MatExpansionModule,
    NgxMaskDirective,
    NgxMaskPipe,
  ],
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  providers: [provideNgxMask()],
})
export class DemoModule {}

Component Template

  <input mask="0000" />
  <input mask="separator.2" />
NepipenkoIgor commented 1 year ago

@NauPareja Please provide stackblitz and create issue using suggested template