I would like to use a in a form to let the user being able to update values among different . I have used the techniqu
If you have static, hard-coded values for the select tag like below:
1 2 3 4 5
You can do the following:
@ViewChild('quantity') quantity: ElementRef; console.log(this.quantity.nativeElement.value); // will print value of the currently selected option