I've tried that, but it isn't working.
My code is:
switch (this.rawValue)
{
//all the cases
default:
portal.presence = "visible";
break;
}
The "portal" text field is visible by default, but when you select one of the few options that has it set to hidden, it does disappear, but if you then go back and select any other option that does NOT have its presence specified, it doesn't become visible again. Am I missing anything?