Resolved: ng-select placeholder not showing

Posted at: September 4, 2019 7:28 PM

Resolved: ng-select placeholder not showing


Fixed issue of placeholder not displayed when using ng-select in reactive form in Angular 6/7/8.

Use null inseated of single quote ('') for show placeholder in ng-select. Like as city: [null, Validators.required]

demo-form.component.ts

demo-form.component.html

Output

ng-select placeholder not showing

For more details click here.

ng-select placeholder not visible placeholder ng-select ng-select placeholder not working ng-select placeholder not showing

Please leave comments

0 Comments

truecodex launched free android app. You can download and install truecodex app on your mobile and get notification of the latest post.

Video Tutorials on YouTube