over 1 year ago by Benjamin Fortunato
I wanted to create a dynamic UI so I have some elements from the value listener influencing what elements are shown. I get the following warning and the UI doesn't seem to always update properly. 1. In general, it's not a good idea to drive the creation of elements with the results of a value listener. Instead, use the value listener to drive a "Set" operation, from the UI Output tab, to update the contents of an existing element in the window. Otherwise, every time something in the window changes, triggering your value listener, the entire window needs to be re-generated. This can create the appearance of a "freezing" behavior. See the example files for more information on the appropriate configuration of "Create" and "Set" components in Human UI. Is there a video on using the Set components? How do I use these to create a dynamic UI?