Skip to main content

Search and Top Navigation

#9221 closed bug (worksforme)

Opened April 11, 2013 12:49PM UTC

Closed April 11, 2013 03:23PM UTC

Last modified April 11, 2013 03:32PM UTC

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.

Attachments (0)
Change History (8)

Changed April 11, 2013 01:00PM UTC by tj.vantoll comment:1

owner: → 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.

Changed April 11, 2013 02:35PM UTC by zozhen comment:2

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

Changed April 11, 2013 02:37PM UTC by scottgonzalez comment:3

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.

Changed April 11, 2013 03:02PM UTC by zozhen comment:4

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

Changed April 11, 2013 03:08PM UTC by zozhen comment:5

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

Zozhen

Changed April 11, 2013 03:23PM UTC by scottgonzalez comment:6

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.

Changed April 11, 2013 03:29PM UTC by zozhen comment:7

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

Changed April 11, 2013 03:32PM UTC by scottgonzalez comment:8

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