Tips & Tricks Archive
Set the Default Value to Select in Angular 5 iterated with Array of Objects
Author: Suresh Thangarasu | Categories: Angular, Latest Trends, Tutorials, UI Development No comments

Here, the simple and easy way to set default value to select in Angular 5 which is iterated with an array of objects. Let’s consider the below sample object which is going to iterate in the select options [ { "userName": "User1", "userId": "1", "userRole": "admin" }, { "userName":