Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9221 closed bug (worksforme)

The "to" input box's calendar for "Select a date range" feature does not show up currentText when showButtonPanel is true

Reported by: zozhen Owned by: zozhen
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

The "to" input box's calendar for "Select a date range" feature does not show up currentText when showButtonPanel is true. But when clicking the closeText button, the currentText can be seen in the blink of an eye. The "from" input box's calendar is working fine.

Change History (8)

comment:1 Changed 6 years ago by tj.vantoll

Owner: set to zozhen
Status: newpending

Hi zozhen,

Thanks for taking the time to contribute to the jQuery UI project. Could you please provide a test case that shows this issue? You can use this as a starting point: http://jsfiddle.net/tj_vantoll/tRdpr/.

Thanks.

comment:2 in reply to:  1 Changed 6 years ago by zozhen

Status: pendingnew

Hi tj.vantoll,

Thanks.

I just did it using the url you posted. Actually the bug is not consistent. It can happen in the "from", too. And I also found another bug, the maxDate applied to "from" is not always limited to the maxDate, I still can click and select the date that is the future of the maxDate.

Regards, zozhen

comment:3 Changed 6 years ago by Scott González

Status: newpending

@zozhen You need to press the update button after making changes, then share the new URL with us. Otherwise, we can't see what you've done.

comment:4 Changed 6 years ago by zozhen

Status: pendingnew

Hi tj.vantoll,

Sorry, I'm a newbie to jQuery, just started to learn it from last week. Thank you for letting me know how to use jsfiddle.

http://jsfiddle.net/zozhen/tRdpr/7/embedded/result/ http://jsfiddle.net/zozhen/tRdpr/7/ <iframe width="100%" height="300" src="http://jsfiddle.net/zozhen/tRdpr/7/embedded/" allowfullscreen="allowfullscreen" frameborder="0"></iframe>

Is this OK?

Regards, zozhen

comment:5 Changed 6 years ago by zozhen

Thanks scott.gonzalez for letting me know how to use jsfiddle.

Zozhen

comment:6 Changed 6 years ago by Scott González

Resolution: worksforme
Status: newclosed

This seems to be working just fine for me. I'm guessing that you're selecting a date which causes the current day to not be selectable in the other field. If you can't select that day, then the button won't show up.

comment:7 Changed 6 years ago by zozhen

Thank you very much, scott.gonzalez.

How about "the maxDate applied to "from" is not always limited to the maxDate, I still can click and select the date that is the future of the maxDate.". This is not consistent.

Zozhen

comment:8 Changed 6 years ago by Scott González

That's also working just fine for me. Is there a specific date that it is failing for?

Note: See TracTickets for help on using tickets.