#969 editable input for date column editor

- editable input for date column editor
- display required validation state for date editor (input field)
- date validation for manually inputed value
- min/max date ranges changed to (-100 years from now to +100 years
from now) for date widget and date column editor

refs #969
refs #959
This commit is contained in:
Denys Vuika
2016-11-02 13:46:29 +00:00
parent bc3028d789
commit 13eb62df0c
5 changed files with 84 additions and 11 deletions

View File

@@ -38,7 +38,8 @@ export class DateWidget extends TextFieldWidgetComponent implements OnInit, Afte
let settings: any = {
type: 'date',
future: moment().add(21, 'years')
past: moment().subtract(100, 'years'),
future: moment().add(100, 'years')
};
if (this.field) {