Ultima - ui-messages-error validation broken

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
AndreasG
Posts: 6
Joined: 23 Jan 2017, 15:53

30 Oct 2017, 13:53

Hi

It seems that the input validation with the recent 4.3.0 primeNg is broken for the Ultima template. The same can be seen in the online demo of the input required form.
The red error-message stays there and doesn't go away when the input is valid.

<div class="ui-g-6">
<span class="md-inputfield">
<input type="text" pInputText #businessDescription="ngModel" name="businessDescription" [(ngModel)]="dataPackage.businessDescription" pattern="[A-Za-z0-9_& ]{0,255}">
<label>Business Description</label>
<div [hidden]="businessDescription.valid || businessDescription.pristine"
class="ui-message ui-messages-error ui-corner-all">
0-255 characters (letters, numbers, _, &, space)
</div>
</span>
</div>

With 4.3.0 the error-message is always shown.

Regards,
Andreas

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 Nov 2017, 13:28

Please use UltimaNG forum; viewforum.php?f=45

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests