-
Notifications
You must be signed in to change notification settings - Fork 56
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
Dependent SELECT fields feature #178
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'd be nice to have a way to create dependent SELECTs and AUTOCOMPLETE.
For example, there are 3 SELECT elements: SELECT country_ID, SELECT region_id, SELECT city_id.
When user chooses COUNTRY_ID - I'd like to update list of options in REGION SELECT, and when region is selected - update options in CITY select.
It would be really great not to load all
city
options on page load, as it may have somewhere from 20k records up to many thousands for huge app.ALSO, I'd like to add
autocomplete
field forstreet_id
, and this autocomplete must become available/active only when all three above selects are filed in, and make this AUTOCOMPLETE search at endpoit like/admin/api-street-id/?city_id=123
, where123
iscity_id
from city_id SELECt value.I mean it's easy to do it in yii2/jQuery UI, but I'm so new to the angularJS I'm not as capable 🥇
The text was updated successfully, but these errors were encountered: