Like the provinces and cities to choose this, but everyone must have seen, there are many ways to achieve
1. Have the first level of choice to load or from the local object to the first level corresponding data source display to the list, the second level and so on
2. There are also all items loaded into select and then associated to show or hide items unrelated to the previous level
Feeling is the second kind of simple, so use the second way to achieve, the rest of the nonsense
The code is as follows (page address: https://github.com/xiexingen/Bootstrap-SmartForm/blob/master/demo/form3-ele-cascade.html):
Run locally:
For parameters and use, please refer to Demo
Previous chapter:BootStrap Smart Form Series 10 auto-complete component support
Series Home: BootStrap smart Form Series Home
BootStrap Smart Form Series 11 Cascade pull-down support