Dynamic lists don't regenerate upon changes
From what I can tell (Beta 6), all its dynamic lists are generated when a form opens, and stay the same until it's dismissed. This doesn't work too well in practice - we need to generate lists based on what other field values have already been set.
This is vital for UI like this:
- Code: Select all
Host: [menu of available host devices]
Device: [Menu of devices available on that host]
where the device list must be generated for the host actually chosen, which we won't know until the user hits the device menu. (Well, until after he finishes with the host menu; but you don't want to track those dependencies, do you?)
Generate lists when their fields gain focus, passing a valueDict that presents the current value of all the fields at that moment. Let us worry about efficiency; we can always cache on the Python side if there's a lot of work involved.