Hi Experts ,
I have two clarifications in this post .
1)First thing is For input field validation I am able to show the value state (to turn into red color ) by using
this.getView().byId("id of the input").setValueState("Error");
I want to show the same red color for a Select box (sap.m.Select ), but when I am using the line of code
this.getView().byId("id of the Select Box").setValueState("Error"); Its giving an error saying that setValueState is not a function .
Kindly let me know how can I convert a selectbox to show red color as the way i have done for an Input field using setValueState("Error");
2)Second thing is To show an input field is mandatory, I am able to show a * (star) mark using sap.m.Label required="true" property .
But by default it will show in blue color . I want that * (star )mark in red color .How can I show that * mark in red color ?
Kindly provide your inputs to solve the above .
Thanks a lot
Rizwan