Calendar is missing red border in invalid state

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
User avatar
bossqone
Posts: 10
Joined: 24 Aug 2017, 09:01

01 Oct 2017, 15:14

Image
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:
p-calendar.ng-dirty.ng-invalid > .ui-inputtext

// fixed code
p-calendar.ng-dirty.ng-invalid > .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.

merve7
Posts: 861
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
bossqone
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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

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 4 guests