p-inputMask not working with initial value
Posted: 08 Aug 2019, 14:58
When I initialize the form with a initial value to p-inputMask simply not working.
cpfCnpj: new FormControl('123456321', [Validators.required] )
---------
<p-inputMask id="cpfCnpj"
type="text"
formControlName="cpfCnpj"
>
</p-inputMask>
Am I missing something?
cpfCnpj: new FormControl('123456321', [Validators.required] )
---------
<p-inputMask id="cpfCnpj"
type="text"
formControlName="cpfCnpj"
>
</p-inputMask>
Am I missing something?