3 levels of Cascading Dropdowns example?
3 levels of Cascading Dropdowns example?
I'm using C# .Net Core and I would like to create 3 cascading drop-downs within a row during user input (Continent-Country-State). For example:
1) Choose a Continent (which then populates the next Country drop-down from SQL Json data)
2) Choose a Country (which then populates the next State drop-down from SQL Json data)
3) Choose a State
I've seen the blog example for the normal 1 Parent to 1 Child dependent drop down. Is there an example that shows how I can use the selection from dropdown2, which will then act as a the parent for dropdown3 ?
thx
Answers
Hi @rdsdev ,
There isn't an example, but the blog post you referenced is the place to start. You just need an additional
dependent()
call, and another end-point to get the state information.Hope that helps,
Cheers,
Colin