-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix(timepicker): fix input data validation for timepicker #3549 #3288 #3588
fix(timepicker): fix input data validation for timepicker #3549 #3288 #3588
Conversation
@@ -50,6 +52,12 @@ export function timepickerReducer(state = initialState, action: Action) { | |||
|
|||
const _newTime = changeTime(state.value, { hour: action.payload.step }); | |||
|
|||
if (state.config.max || state.config.min) { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
this.hours = hours; | ||
|
||
const isValid = isHourInputValid(this.hours, this.isPM()) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
a3a4cb6
to
fc3c394
Compare
Codecov Report
@@ Coverage Diff @@
## development #3588 +/- ##
===============================================
+ Coverage 72.24% 72.24% +<.01%
===============================================
Files 252 253 +1
Lines 8233 8234 +1
Branches 1563 1563
===============================================
+ Hits 5948 5949 +1
Misses 1863 1863
Partials 422 422
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix imports
@@ -1,5 +1,5 @@ | |||
import { Injectable } from '@angular/core'; | |||
import { Action } from '../../mini-ngrx/index'; | |||
import { Action } from '../../mini-ngrx'; |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
fc3c394
to
3c36269
Compare
Needs to fix conflicting files |
3c36269
to
e5ffded
Compare
Add validation for timepicker based on ui-bootstrap validation. Fix min-max validation issue. close valor-software#3549 valor-software#3288
e5ffded
to
99ef537
Compare
Fix input validation for timepicker based on ui-bootstrap validation.
Fix min-max validation issue.
close #3549 #3288
PR Checklist
Before creating new PR, please take a look at checklist below to make sure that you've done everything that needs to be done before we can merge it.