Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
SelectView doesn't reset the title #533
I have a SelectView in a panel that has an itemBinding. There is also a valueBinding connected to a controller. The first time it loads, everything works as expected; the title and value are null (more accurately an empty string). If the panel is opened again, the valueBinding forces the value to be "", but the title retains the value from the last time the SelectView was set. So when the panel is loaded a second time, the UI suggests the SelectViews already have values set, even though getting their values gives an empty string.
To get around this, I have set up the proxy ObjectController to have a titleBinding that specifically sets the title to be an empty string when there is no value so that the UI reflects the SelectView the state of the value. This feels like a hack to get the SelectView to do what would seem it should do by default.