Fix Hide label in selector when it's null
BZ-996081: Custom form layout cannot be saved