Revision 59057
Added by Argiro Kokogiannaki almost 4 years ago
rangeFilter.component.ts | ||
---|---|---|
14 | 14 |
@Input() showQuickButtons:boolean = true; |
15 | 15 |
public _maxCharacters:number =28; |
16 | 16 |
public focusedInput: string = ""; |
17 |
public yearMin: number = Dates.yearMin; |
|
18 |
public yearMax: number = Dates.yearMax; |
|
17 |
@Input() yearMin: number = Dates.yearMin; |
|
18 |
@Input() yearMax: number = Dates.yearMax; |
|
19 |
@Input() mandatoryRange:boolean = false; |
|
19 | 20 |
public currentYear: number = Dates.currentYear; |
20 | 21 |
|
21 | 22 |
@Output() onFilterChange = new EventEmitter(); |
Also available in: Unified diff
[Library|Trunk]
range filter component:
min, max year can be passed as input
both start/ end year can be mandatory
add directive to check if both fields are filled