Skip to Content
author's profile photo Former Member
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.


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.



Add comment
10|10000 characters needed characters exceeded

0 Answers