1
<input value="2019-10" type="month">

how to get the value of this input field in angular and how to change the value of input field dynamically??

  • Your question lakes details about what you're going to do, but this might help you https://stackoverflow.com/questions/47529327/angular-4-get-input-value – Abdul Mueed Shahid Nov 11 '19 at 10:24

1 Answers1

1

use angular data-binding.

<input type="month" [(ngModel)]="myVariable">

This myVariable you can give starting value and get changed value, when input changes.