I would like to know how to get the value from an input on angular 4. I looked over the documentation on angular and the example with the key event doesn\'t work very well for m
You can use (keyup) or (change) events, see example below:
(keyup)
(change)
in HTML:
Or
in Component:
change(event) {console.log(event.target.value);}