cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 set sap:display-format in the CDS level annotation

0 Kudos

In my UI5 application input smart fields always convert the input text to upper case. I've found that this is due to the annotation sap:display-format="UpperCase". How can I change it to not to convert the input to upper case?

I'm using @odata.publish , not SEGW. So I need to do it using the CDS annotation since I've done the annotation in the CDS level, not local annotations.

Thanks.

AbhishekSharma
Active Contributor
0 Kudos

Hi Thanushka Gunasekara

Which input smart fields you are using ?

Thanks-

Abhishek

maheshpalavalli
Active Contributor
0 Kudos

is the domain has the lowercase check box enabled for that field?

Accepted Solutions (0)

Answers (2)

Answers (2)

karthikarjun
Active Contributor
0 Kudos

Hi Thanushak, Can you share your metadata extension code here?

Regards,

Karthik Arjun

0 Kudos
Abhishek Sharma, it's a smart form with smart fields. The smartfields types are set automatically based on the annotation.