Updating a UD-Select based on another UD-Select

First not sure if UD-Selects are used any more but they seem to be working.

I have 2 of them, the first one you select a client then I need to populate the second one, anyway to do this or do I need to wrap it in a UD-ELEMENT and then destory and recreate the drop down?

Thanks

You can do something like your second option using New-UDDynamic and Sync-UDElement… I wrote a blog post about it here: https://blog.ironmansoftware.com/universal-dashboard-dynamic-forms/

Thanks Adam,

Will this work if I go off and fetch some information then try and load it, your example looks like predefined entries.

Yep. That’ll work as well.

Great thanks

I think I see it now.

Hey sorry to ask another Q, I created my first page with the root path /. But when I load it just says home does not put any content in even though my code has some content. do I have to use a home page?

lookling at the info though I changed the code in notepad++ it does not seem to have pulled into the PU interface, even with a stop and start. Is there something else I need to do?

There is a file system watcher that should be loading that stuff. Try making another change or restart the dashboard again.

This is a sticky bug that we’ve been trying to kill for a couple releases that seems to not want to die.

Yeah a second restart worked. Got to hate those bugs.

Another Q on this, can you use the dynamic in a form?

Yep. You can nest controls in UDForm and have it still work.