<p>Thanks, Victor. Interesting insight. Sounds legit to me. The dependent Lookup works exactly once, so it may very well be that while everything is rendered on the page, subsequent fires of the modal won't be able to re-intialize since the page is fully rendered and the DOM's locked down thereafter. Too bad the form in the modal can't maintain state.</p><p>The weird thing is the spinner indicating the dependent Lookup is adapting to the Lookup it's watching, going to fetch the related values, that happens within the first instance of the modal all day long. I can go into the form the Lookup's watching and change values and in the modal, it still goes out and gets the current dependent values. Would seem that it wouldn't do that if it was an AJAX-y gotcha. Meh. Matters not. I have to figure out a way to get related Lookups to work in a modal, somehow. xP </p><p>I may try to make them Dynamic fields and see if that has any effect. Or do an inline form in the view, maybe. I have a nice simple modal with a single pair of Lookups that simply refuses to do my bidding. Wrecks the UX, too. Makes me force the user into a flow where every time they want to take this action, they have to load an extra page for this one little form. And while technically, it'd be less than 100 times every few months, it's still a really poor experience. That's still a lot of back n forth for an otherwise very efficient and performant flow. I tried a pop-up plugin, but it ignores the url params and that doesn't do any good for the rest of the flow.</p><p> </p><p>As always, thanks for your insights!</p>
Please login or Register to submit your answer