on 03-02-2018 2:13 PM
I am integrated smart filter bar into my application. I set mandatory to two inputs in our smart filter bar control configuration.once i click on go button without fill inputs then i got alert message with message "Fill All the required fields". How can i change this message to our custom message.alert.png
Hi Murali,
If you just need to change the text of the Error Message, you can do it in the following way :
In the initMethod() of the view, get the smart filter bar by it's ID & set the error message you want to display in the following way :.
var oSmartFilterBar = this.getView().byId("smartFilterBar");
oSmartFilterBar._sMandatoryErrorMessage = "Fill me"; //Your custom Message
Thanks,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.