fix(enum): no try to render displayValue if enum is empty (refs #4786)