Skip to content

Commit

Permalink
feat(timepicker): add validation for timepicker
Browse files Browse the repository at this point in the history
Add validation for timepicker based on ui-bootstrap validation.
Fix min-max validation issue.

close valor-software#3549 valor-software#3288
  • Loading branch information
IraErshova committed Mar 10, 2018
1 parent 1a9c17d commit e5ffded
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/spec/timepicker/timepicker-controls.util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,5 @@ describe('Util: Timepicker-controls', () => {

expect(result.canDecrementHours).toEqual(false);
expect(result.canDecrementMinutes).toEqual(false);

});
});
4 changes: 1 addition & 3 deletions src/timepicker/reducer/timepicker.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import {
} from './timepicker.reducer';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';

import { Action } from '../../mini-ngrx/index';
import { MiniStore } from '../../mini-ngrx/store.class';
import { MiniState } from '../../mini-ngrx/state.class';
import { Action, MiniStore, MiniState } from '../../mini-ngrx/index';

@Injectable()
export class TimepickerStore extends MiniStore<TimepickerState> {
Expand Down

0 comments on commit e5ffded

Please sign in to comment.