1

I need to add mask into input text fields (phone, date, email, etc).

I'm using Angular and Nebular 5.0.0, and according to the official documentation, there is no mask attribute available.

I had tried to add ngx-mask-version(8.1.7) as follow, but doesn't worked.

<input type="text" nbInput mask="(00)00000-0000" class="form-control" [(ngModel)]="model.phone" name="phone">

Is possible to integrate ngx-mask and Nebular nbInput components? If is not possible, how can I add mask into my input fields?

Rajan
  • 1,512
  • 2
  • 14
  • 18
gfinotti
  • 613
  • 5
  • 21

1 Answers1

0

The problem was solved, the problem was in my environment. I need to delete node_modules folder and build the project again.

gfinotti
  • 613
  • 5
  • 21