Hi
I have a select-widget that it depends on value of another select-widget. I wrote a js variable that clear value of slave widget and call it in changing of master widget, but it always clear value of slave widget. I just want to clear previous value .
how can clear previous value of slave widget when master widget is changing?
1 - To make sure I understand correctly: your use case is for example to have a master list that store list of USA states and a slave list that store cities of the selected state. Is that correct ?
2 - Also can you confirm that your successfully managed to update cities list when user select a different state?
3 - And finally could you confirm that your current issue is that when user select again the same state as currently select the slave list is update and selection reset but it should not actually modified at all the slave list?
1- Yes, my depended list is like states and their cities.
2- Yes, when state is changed, cities is get from bdm using external API
3- when user changed state, list of it’s cities get from dbm and it works correct, but previous selected cities remains in input. I just want to clear of input that user is forced to select city of current state.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.