I have mat-select Drop-down from angular material.
It has list of state which is coming from API. It has more than 10 options in Drop-down.
Todo :
- I want Search option
in
mat-select.I usedmat-select searchfrom stackblitz but it's really difficult to understand.
Please suggest me simple way to do it.
My json code
"{
"data": [
{
"id": 32,
"name": "Andaman And Nicobar Islands"
},
{
"id": 16,
"name": "Odisha"
},
{
"id": 34,
"name": "Puducherry"
},
{
"id": 19,
"name": "Uttar Pradesh"
},
{
"id": 5,
"name": "Uttarakhand"
},
{
"id": 6,
"name": "Andhra Pradesh"
}
],
"statusCode": 200
}"