In the current project, I have a SimpleForm on a view. Binding a JSONModel on this view, the validateValue
function is working fine on my input field. The constraints on the input field are defined as follows:
<Input value="{
path: '/carrId',
type: 'sap.ui.model.type.String',
constraints: {
// ...
}
}"/>
Changing the model to an ODataModel
doesn't fire the validateValue
and the field is not marked with red if the constraints are not matched.
The view is registered at the message manager.
Do I have to implement the validation by implementing a change
event or where is the mistake?