Skip to content
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

Closed
Webkadabra opened this issue Jul 10, 2018 · 1 comment
Closed

Dependent SELECT fields feature #178

Webkadabra opened this issue Jul 10, 2018 · 1 comment
Assignees

Comments

@Webkadabra
Copy link
Contributor

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 for street_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, where 123 is city_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 🥇

@nadar nadar self-assigned this Jul 10, 2018
@nadar
Copy link
Member

nadar commented May 27, 2019

We have an issue with a concrete implementation plan => #298

@nadar nadar closed this as completed May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants