0
Q:

ionic input mask

npm install br-mask --save -E

...

import { BrMaskerModule } from 'br-mask';

@NgModule({
  imports: [
    BrMaskerModule
  ],
})

...

<ion-input 
	type="text" 
    name="cpf" 
    placeholder="CPF" 
    [brmasker]="{mask:'000.000.000-00', len:14}">
</ion-input>
1

New to Communities?

Join the community