Skip to Content
avatar image
Former Member

setValueState(sap.ui.core.ValueState.Error) is not working for sap.m.Input

Hi Team,

I am new to SAP UI5, I want to show red border to mandatory Input ui fields.

For that I have written the below logic.

viewObject.byId("IssueDescId").setValueState(sap.ui.core.ValueState.Error);

it is showing "Invalid Entry" text when I click inside the Input ui field, but red color border is not appearing.

I have one more query is this setValueState will work for sap.m.Select and sap.m.MultiComboBox also? do I need to do any thing special for these components?

Appreciate help on this.

Thanks,

Sudhakar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers