Pre-populating and validating date in Angular 6 reactive form
问题 All the rest of the fields are getting pre-populated except date for me. For testing purposes, i have hard coded the date as MM/DD/YYYY. From the DB, i'll get Date and Time, so i'll need to use the pipe to make it MM/DD/YYYY (am i correct about this?) component code this.projectForm = new FormGroup({ 'name': new FormControl(project.ProjectName, [Validators.required, Validators.minLength(3), Validators.maxLength(20)]), 'customerName': new FormControl(project.CustomerName, [Validators.required,