Answers for "set default value in dropdown angular 7"

0

set default value in dropdown angular 7

Set validation.min with required as well like below one.

supplierId: ["", [Validators.required, Validators.min(1)]]
supplierId is always greater zero so min(1) works for you.
Posted by: Guest on March-25-2021

Code answers related to "set default value in dropdown angular 7"

Code answers related to "Javascript"

Browse Popular Code Answers by Language