Calendar is missing red border in invalid state

Post Reply
User avatar
Posts: 10
Joined: 24 Aug 2017, 09:01

01 Oct 2017, 15:14

Calendar component itself has these classes: ng-dirty ng-invalid ng-touched
I would suggest to fix validation classes like this:

Code: Select all

// actual code: > .ui-inputtext

// fixed code > .ui-calendar > .ui-inputtext
Maybe one more question, do we need direct child selector?
I mean, it just causes compatibility issues when HTML structure of components has been changed in PrimeNG and wasn't reflected to the theme.

Posts: 601
Joined: 12 Sep 2017, 10:44

09 Oct 2017, 15:02

Thank you. Yes, we need child selector because if we dont have child selector, need only ui-inputtext but now we need ui-inputtext inside in the ui-calendar.

User avatar
Posts: 10
Joined: 24 Aug 2017, 09:01

17 Oct 2017, 13:39

I'm not sure what do you mean. Like, I understand that child selector is currently needed (due to current implementation), but it is needed at all? It's too strict/limiting.

Posts: 18303
Joined: 05 Jan 2009, 00:21
Location: Cybertron

01 Dec 2017, 12:06

Fixed for Poseidon 5.0 due next week.

Post Reply

Return to “Poseidon - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests