Skip to content

Conversation

@wnvko
Copy link
Contributor

@wnvko wnvko commented Mar 5, 2020

Update the code to correctly handle state validity of the components

Closes #6471
Closes #6846

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code
  • This PR includes API docs for newly added methods/properties
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes
  • This PR includes behavioral changes and the feature specification has been updated with them

wnvko added 25 commits March 5, 2020 17:16
# Conflicts:
#	projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts

# Conflicts:
#	projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts
# Conflicts:
#	projects/igniteui-angular/src/lib/date-picker/date-picker.component.spec.ts
# Conflicts:
#	projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts

# Conflicts:
#	projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
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
# Conflicts:
#	projects/igniteui-angular/src/lib/test-utils/ui-interactions.spec.ts
Also force setting of this.validy to pass trouth setter always
# Conflicts:
#	projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts

# Conflicts:
#	projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
# Conflicts:
#	projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts
# Conflicts:
#	projects/igniteui-angular/src/lib/date-picker/date-picker.component.ts
#	projects/igniteui-angular/src/lib/time-picker/time-picker.component.spec.ts
#	projects/igniteui-angular/src/lib/time-picker/time-picker.component.ts
@wnvko wnvko requested a review from Lipata March 5, 2020 15:23
@wnvko wnvko requested a review from damyanpetev March 5, 2020 15:23
@wnvko wnvko added the ❌ status: awaiting-test PRs awaiting manual verification label Mar 5, 2020
@jackofdiamond5 jackofdiamond5 self-assigned this Mar 6, 2020
@jackofdiamond5 jackofdiamond5 added 💥 status: in-test PRs currently being tested ✅ status: verified Applies to PRs that have passed manual verification and removed ❌ status: awaiting-test PRs awaiting manual verification 💥 status: in-test PRs currently being tested labels Mar 6, 2020
@Lipata Lipata merged commit 72ca1ae into 8.2.x Mar 6, 2020
@Lipata Lipata deleted the mvenkov/handle-required-in-date-time-pickers-8.2.x branch March 6, 2020 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🕐 time-picker 📅 date-picker squash-merge Merge PR with "Squash and Merge" option version: 8.2.x ✅ status: verified Applies to PRs that have passed manual verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants