ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

First '(' is not getting cleared when using '(000) 000-0000' mask

Open KilledarRushikesh opened this issue 4 years ago • 1 comments

Oh hi there!

🐞 bug report

Is this a regression?

Not tested.

Description

Mask: (000) 000-0000

After entering 1-2 digits. When tried to clear them one char/digit at a time, it is still showing '(' at start, when all input gets cleared and i'm not able to clear it.

mask-issue

Angular Version: 10

KilledarRushikesh avatar Jan 19 '21 11:01 KilledarRushikesh

+1

YSFKBDY avatar Oct 11 '21 15:10 YSFKBDY

@KilledarRushikesh @YSFKBDY Seems like this issue relative to old ngx-mask package and dosent exist anymore . Please check https://stackblitz.com/edit/angular-b4bk45?file=src%2Fmain.ts%3AL8

NepipenkoIgor avatar May 13 '23 12:05 NepipenkoIgor

What is the latest version of ngx-mask that I can use with Angular 10?

YSFKBDY avatar May 15 '23 14:05 YSFKBDY

@YSFKBDY I think something before 13, perhaps 12

NepipenkoIgor avatar May 15 '23 16:05 NepipenkoIgor

@KilledarRushikesh @YSFKBDY Thank you for using ngx-mask. I'm closing issue as everything works as expected. If you have any problems in the future in using the ngx-mask, open issue using the template

andriikamaldinov1 avatar May 16 '23 12:05 andriikamaldinov1