Datepicker year drop down is displaying on the top of the tooltip

UI Components for JSF
Post Reply
Shaik Irfan
Posts: 8
Joined: 28 Dec 2022, 18:32

23 May 2023, 19:29

Hello team We do have a datepicker and an input field in my application. Whenever the user hovers over an input field, a tooltip is shown. yet the tooltip that appears beneath the year dropdown always. How can I get a tooltip to appear at the top of the year drop down?

Code:
<p:datePicker
id="endDate"
showIcon="true" maxlength="10"
mindate="#{myBean.minDate}"
maxdate="#{myBean.currentDate}"
value="#{myBean.createDate}"
pattern="dd/mm/YYYY HH:mm" yearNavigator="true"
monthNavigator="true" readonlyInput="false"
hideOnDateTimeSelect="true"
converterMessage="enter valid end date"
showOnFocus="false" yearRange="1900:3000" required="true">
<p:tooltip
id="endDateTooltip"
for="endDate"
trackMouse="false" showEffect="fade" hideEffect="fade"
showEvent="mouseover" hideEvent="mouseout"
showDelay="0" hideDelay="0"
value="please input as dd/mm/YYYY HH:mm" />
</p:datePicker>

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

24 May 2023, 14:40

I have fixed this for PF 13.0.0 with this ticket: https://github.com/primefaces/primefaces/issues/10100
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Shaik Irfan
Posts: 8
Joined: 28 Dec 2022, 18:32

30 May 2023, 08:15

I upgraded primefaces to the most recent 13.0.0-RC1 version and discovered that the problem is still present. How can I get the tooltip to appear above the datepicker's year dropdown in primefaces 12 or later?
Thank you.

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

30 May 2023, 15:35

Can you provide a PrimeFaces Test reproducer showing the problem? I can't reproduce it.

Use: https://github.com/primefaces/primefaces-test
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests