The problem appears when parameter value for p_idx parameter of apex_item.date_popup2 (or date_popup) function is bigger than 50. In this case, you won't get any HTML code. It works fine for the text items.
The query that I've used for the test is:
```sql
select level num
, apex_item.date_popup2(level) as date_item
, apex_item.text(level) as text_item
from dual
connect by level <= 200
```
### The Solution
Watch you p_idx parameter and wait for the fix. ;)
### Version
Tested in APEX 5.1.4 and 19.1.0.00.15