Skip to Content
0

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

Feb 15, 2017 at 12:39 PM

283

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers