cancel
Showing results for 
Search instead for 
Did you mean: 

Not nullable input field is not validated as mandatory in Fiori app

waidokas
Discoverer
0 Kudos
292

I've got a not nullable field in OData V2:

<Property Name="Regnum" Type="Edm.String" Nullable="false" MaxLength="35" sap:unicode="false" sap:label="EMD reg. nr."/>


The Object page marks the input as required; however, it is not validated, and POST is sent without field's value to the back end.

What could be a reason for such behavior?
Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

AlexNecula
Active Contributor
0 Kudos

Hi,

As far as I know for object page you have to do this check yourself in the backend.

For SmartField this validation is done automatically in front-end (altough for safety reasons I suggest doing it in the backend as well).

Alex

SergioG_TX
SAP Champion
SAP Champion
0 Kudos

are there any local annotations in this app that may be overwriting the behavior of the field in the backend?

try refreshing the metadata and see if there are local annotations