ionic2-mask-directive icon indicating copy to clipboard operation
ionic2-mask-directive copied to clipboard

directive to mask ion-input

Results 8 ionic2-mask-directive issues
Sort by recently updated
recently updated
newest added

i have the html code: and ts code Change_Toggle(bval:any) { if (bval===false) { this.Type = "Pessoa Jurídica"; this.CPF_CNPJ = "CNPJ"; this.user.type_user = "Pessoa Jurídica"; this.user.cpf_cnpj['mask']="00.000.000/0000-00"; } else { this.Type =...

Add a new function to handle optional character in the mask like: (99) 9999?9-9999

enhancement

Did all configurations as mention but nothing happening. Please help me. Thanks in advance

HI Team , While building the app with ionic cordova run android --prod. Getting below exception

@tiaguinho Getting this error. ionic serve fails in Angular 5.2.3, Ionic 4.5.3, Ionic2-Mask 1.0.8 typescript: node_modules//src/render3/ng_dev_mode.d.ts, line: 9 Cannot redeclare block-scoped variable 'ngDevMode'. typescript: ...es/ionic2-mask-directive/node_modules//src/render3/ng_dev_mode.d.ts, line: 9 Cannot redeclare block-scoped...

Hello, It is possible add a const char in the mask? like this: mask="+55 (99) 999-9999" Where "+55" is the const. Actually, I can put this the "+55", but when...

Is it possible to show the pattern of the mask always in the input field ? So if i have mask="99/99/9999" placeholder="dd/mm/yyyy" I want the "/" to be visible always...

Do you know if have a way to make a condition with the mask? For example: I have an input to search with two types, one like: 9999999-99.9999.9.99.9999 and the...