My Oracle Support Banner

Calendar Icon Shifts From Right To Left After Running Javascript Command On Item (Doc ID 2635841.1)

Last updated on FEBRUARY 18, 2021

Applies to:

Oracle Application Express (APEX) - Version 19.2 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
When running the following command $("#FROM_DATE").datepicker( "option", "minDate", "01/01/2020");
there is a formatting issue with the calendar icon. The calendar icon moves from the right side to the left.

EXPECTED BEHAVIOR
-----------------------
When running the following command $("#FROM_DATE").datepicker( "option", "minDate", "01/01/2020");
the calendar icon should not shift. It should stay on the right side.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create calendar item.
2. Create LOV with dynamic action.
3. Set the minDate using JavaScript when dynamic action is called:

$x("FROM_DATE").value = $v("MIN_DATE");
$("#FROM_DATE").datepicker('option','minDate',$v("MIN_DATE"));
$("#FROM_DATE").datepicker('option','maxDate',$v("MAX_DATE"));

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.