diff --git a/Validator.js b/Validator.js index 89ce153..8abb1c0 100644 --- a/Validator.js +++ b/Validator.js @@ -245,9 +245,11 @@ sap.ui.define( case "sap.m.Input": case "sap.m.Select": sLabel = oControl + .getParent() + .getLabel ? oControl .getParent() .getLabel() - .getText(); + .getText() : "No Label Found"; break; }