Page 1 of 1

p-inputMask not working with initial value

Posted: 08 Aug 2019, 14:58
by scgsergio86
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?