Not able to get value of dropdown inside tab
sharathdaniel opened this issue · 0 comments
sharathdaniel commented
This is the code i'm using to get selected value of a dropdown.
ejs-dropdownlist #serviceType [dataSource]="listServiceType" placeholder="Select" [fields]="fields" (created)="getServiceType()" (change)="getServiceType()"> </ejs-dropdownlist>
This works fine outside of a tab. But when it is inside a tab, i get the following error.
EDIT: Nvm, fixed it by changing to true to false in @ViewChild("serviceType", { static: false })
