mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
#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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user