Add missing dateMask.
This commit is contained in:
parent
f33d7f1437
commit
d082dae44c
@ -97,6 +97,9 @@ import { OperationFormComponent } from './operationForm.component';
|
||||
export class OperationEditComponent {
|
||||
public operation = new Operation();
|
||||
|
||||
//dateMask = [/\d{4}/, '-', /0[1-9]|1[0-2]/, '-', /[0-2]\d|3[0-1]/];
|
||||
dateMask = ['2', '0', /\d/, /\d/, '-', /[0-1]/, /\d/, '-', /[0-3]/, /\d/];
|
||||
|
||||
constructor(
|
||||
private location: Location,
|
||||
private router: Router,
|
||||
|
Loading…
Reference in New Issue
Block a user