248 Posts
Giuse
6 years ago
3
Topic

Hi, I just discovered that Select Dynamic Cascade is not compatible with Conditional States on first page load: the conditional states plugin evaluates the value of the cascaded field and finds it empty. After around a second, the cascade mechanism sets the value of the field by querying the server but the conditional state plugin is not aware of this change. I made some experiments with JS and saw that since Cascade sets the value of field with javascript, there is NO CHANGE event triggered, so that nobody is aware that now the field is populated with the correct value...

Is it like that? Is there any JS or Seblod event that can be intercepted to know that Cascade has finished doing its work and all fields are now ok (this happens after DOM is ready...)?

thanks a lot

Giuse

Get a Book for SEBLOD
4229 Posts
Kadministrator
6 years ago
2
Level 1

Probably change should be triggered manually from inside cascade field, add an issue on the github

248 Posts
Giuse
6 years ago
1
Level 2

Done: https://github.com/Octopoos/SEBLOD/issues/520

4229 Posts
Kadministrator
6 years ago
0
Level 3

thnx

Get a Book for SEBLOD