cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fiori Elements Smart Filter - Date picker Behaviour

vijay_ravindran
Explorer
0 Likes
776

 

Hello Experts,

I have 4 filters on my report using Smart Filter and Fiori elements. One of the filters is of Date type. It looks like this when I click on the calendar icon in the WebIDE visual editor:

vijay_ravindran_0-1740640817194.png

However, when I deploy the same app to the test environment, the date is displayed as below:

vijay_ravindran_1-1740640891476.png

Why is there an inconsistency? I need the date picker to appear as it does in the WebIDE.

Awaiting replies. 

Thanks, 
Vijay 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Virinchy
Active Contributor
0 Likes

Hi Vijay, 

it looks like the dynamic date range flag is set to true somewhere and is enabled during the deployment. (refer to the annotations in the gateway, manifest file or in the smart control code) 

https://www.sap.com/design-system/fiori-design-web/v1-96/ui-elements/dynamic-date-range-2/?external

to override the behaviour , try to apply useDateRangeType="false" property explicitly to the SmartFilterBar control
 
Refer to the api documentation samples for more info  on this (Smart Filter Bar with DateRangeType and Smart Filter Bar with controlConfiguration conditionType customDateRangeType)
 
Regards
Virinchy