Need help with PrimeNG dropdown in an Angular2 model-driven form. The PrimeNG documentation I have found only use template-driven forms.
A sample code for the following would help greatly:
- an Angular model-driven form
- the form contains one PrimeNG dropdown and a submit button.
- the dropdown contains 4 cities (Moscow, Istanbul, Berlin, Paris).
- the user is required to change the selected city (to enable the Submit button).
- the dropdown can be programatically "initialized" to show one of the cities in the options list (e.g. Berlin) when the form first opens.
Thanks.