Preconditions:
The demo uses the newest library version and automatic validation turned on in init():
sap.ui.getCore().getMessageManager().registerObject(this.getView(), true);
- Type in "a" in field "Some Text:"
- Press "Validate form"
The ValueState border of the control flickers and disappears.
Press "Validate form" again and all is ok.
It seems the library is not compatible with automatic validation.
https://openui5.hana.ondemand.com/#/topic/a90d93df5a024e8bb18826b699c9aaa7
I tried to set target and processor property of the Message instance to these values, this worked for me:
target : oControl.getId() + "/" + propertyName,
processor : new sap.ui.core.message.ControlMessageProcessor()
http://plnkr.co/edit/EAWrSoknfPU0H3ELtq6X?p=preview
Preconditions:
The demo uses the newest library version and automatic validation turned on in init():
sap.ui.getCore().getMessageManager().registerObject(this.getView(), true);
The ValueState border of the control flickers and disappears.
Press "Validate form" again and all is ok.
It seems the library is not compatible with automatic validation.
https://openui5.hana.ondemand.com/#/topic/a90d93df5a024e8bb18826b699c9aaa7
I tried to set target and processor property of the Message instance to these values, this worked for me:
target : oControl.getId() + "/" + propertyName,
processor : new sap.ui.core.message.ControlMessageProcessor()
http://plnkr.co/edit/EAWrSoknfPU0H3ELtq6X?p=preview