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
In HTML add
And in component Add
onKey(event) {const inputValue = event.target.value;}