-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search Box not enabled in the dropdown #34
Comments
Can you check if there are any exceptions in the console and please share the countries array. |
There is no exception in the console. The countries array in the scope looks like this when filled from the WebAPI call:
The scenario is such that, on page load the countries are populated in the array, when i click on the a button the country dropdown is enabled and displayed. When the dropdown enables, the list is populated correctly but the search box fails to show. |
Everything seems to be in order. It would be extremely helpful if you could share a fiddle. |
It worked with another tool similar to chosen and it was also in angular. i will try making a fiddle and sending it across to you. |
Code used in the Index.html:
<select chosen options="countries" data-placeholder="Choose a Country..." data-ng-model="country.selected" data-ng-options="country.text for country in countries" data-ng-show="showEditProfile"></select>
The Steps followed:
The countries list is populated from the WebAPI and its working fine till now. I am not able to get the search box, could you please help.
Browsers used:
The text was updated successfully, but these errors were encountered: