p-inputMask not working with initial value

UI Components for Angular
Post Reply
scgsergio86
Posts: 1
Joined: 30 Jul 2019, 16:05

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?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests