-
Notifications
You must be signed in to change notification settings - Fork 160
igx-date-picker and igx-time-picker doesn't handle required properly #6471
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
💥 severity: critical
🐛 bug
Any issue that describes a bug
🕐 time-picker
📅 date-picker
version: 8.2.x
version: 9.0.x
version: 9.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Comments
Added to the igxDateTimeEditorDirective specification. |
wnvko
added a commit
that referenced
this issue
Feb 13, 2020
14 tasks
wnvko
added a commit
that referenced
this issue
Feb 13, 2020
wnvko
added a commit
that referenced
this issue
Feb 17, 2020
wnvko
added a commit
that referenced
this issue
Feb 17, 2020
wnvko
added a commit
that referenced
this issue
Feb 18, 2020
wnvko
added a commit
that referenced
this issue
Feb 19, 2020
If we drop down the calendar when input has no value, onBlur gets called but we do not call onTouchCallback which is correct. However if after we click outside the input the model is never validated. This is why we should validate model, in this case, and in onClosing event.
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Feb 24, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
If we drop down the calendar when input has no value, onBlur gets called but we do not call onTouchCallback which is correct. However if after we click outside the input the model is never validated. This is why we should validate model, in this case, and in onClosing event.
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
# Conflicts: # projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
14 tasks
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
# Conflicts: # projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts # Conflicts: # projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
# Conflicts: # projects/igniteui-angular/src/lib/date-picker/date-picker.component.spec.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
# Conflicts: # projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts # Conflicts: # projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
If we drop down the calendar when input has no value, onBlur gets called but we do not call onTouchCallback which is correct. However if after we click outside the input the model is never validated. This is why we should validate model, in this case, and in onClosing event. # Conflicts: # projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
# Conflicts: # projects/igniteui-angular/src/lib/test-utils/ui-interactions.spec.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
# Conflicts: # projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts # Conflicts: # projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
wnvko
added a commit
that referenced
this issue
Mar 5, 2020
14 tasks
Lipata
pushed a commit
that referenced
this issue
Mar 6, 2020
Lipata
pushed a commit
that referenced
this issue
Mar 6, 2020
Lipata
pushed a commit
that referenced
this issue
Mar 6, 2020
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
💥 severity: critical
🐛 bug
Any issue that describes a bug
🕐 time-picker
📅 date-picker
version: 8.2.x
version: 9.0.x
version: 9.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
The HTML validation doesn't pass through the igx-date and time pickers properly. Required doesn't put asterisk in the label, no red borders when touched and invalid, etc.
Steps to reproduce
Result
No visual indication in the component that it's required in the form.
Expected result
To behave like other form components.
The text was updated successfully, but these errors were encountered: