Hi Fernando,
To meet your requirements, we recommend using the following code:
onSubmit(e) : void { console.log(this.skillForm.value.time.toTimeString()); } |
We have also attached a sample for your reference, which can be found here: https://stackblitz.com/edit/angular-bhuxst?file=src%2Fapp.component.html,src%2Fapp.component.ts
Regards,
Vinothkumar