Input validation

In a UI5 app input is checked in the browser, against the type of the property it is bound to, before it reaches the model; the service behind it still checks what it receives.

Overview

SAP SHIPS

Data types check user input on its way into the model: a type's constraints, the maximum of an Integer say, are validated when the input is parsed, the OData types carry the property facets as constraints, and a custom type implements validateValue. With handleValidation set in the manifest or on the component, a failed check becomes a validation message on the control's property.

Not covered: At the input of one bound property: the documentation places the check in parsing what was entered and creates the message when the data changes, and it describes no check of a whole form at once.

THE COMMUNITY ADDS

No community artifact is documented here.

Artifacts

Nothing is mapped here yet.

Details

Coverage
statecore only, UI5
assessed
also inCAP, ABAP
For your agent
Ref
capability:input-validation
JSON
/capabilities/input-validation.json
MCP
Connecting an agent