Mvc.CascadeDropDown icon indicating copy to clipboard operation
Mvc.CascadeDropDown copied to clipboard

Using a modal with cascading DDL odd bug

Open wolfgangjt opened this issue 6 years ago • 1 comments

So I have a page that I am loading the data through a serialized json object into a view model that loads the page data. However, when I load the modal to edit a line item in my table, the cascading dropdown menu does not load the data. However when closing the modal and reloading it, the first of 3 cascading DDL populates. Continuing to close and reopen the modal results in more and more CDDL to load the data.

I am not sure what the issue is. I have spent days trying different solutions. The data looks correct. The only thing I can see is that there are two options with 'selected' = true, but when I manually set the correct one to be the only 'selected', it still does not load the data at all.

wolfgangjt avatar Feb 07 '19 20:02 wolfgangjt

It will not let me edit my above post, but I am also using an older version, the version that uses in the Js1CreateInitFunction the

<triggerElement.onchange = function... >

instead of the

because the var version does not work at all for us.

wolfgangjt avatar Feb 08 '19 15:02 wolfgangjt