cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForm Date Picker Problem on Toggle Edit

01-19-2021 5:15 PM
563 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Hello All,

I am having an issue with Date Picker component in a SmartForm. The field is called 'val_from' (valid from) and has no specific annotation in the CDS view. The CDS view is exposed via SADL and in the configuration settings, the val_from field is restricted as a date (instead of a timestamp). Generally, the SmartForm seems alright and appears as how it should be BUT the val_from field is weirdly reducing one day as the user clicks on EDIT button which only sets the setEditable feature of the SmartForm as true.

The data type properties of the val_from date field

On Display Mode:

On Edit Mode:

Since most of the code happens automatically with the help of SmartForm, there is not much of a thing that I do in the code. Hope you can help me!

Best,

Merve

0 Likes

Accepted Solutions (0)

Answers (0)