[ https://issues.apache.org/jira/browse/TAP5-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979535#action_12979535 ]
Paul Stanton commented on TAP5-1409: ------------------------------------ a workaround/patch is to remove the lines 345-348 in datepicker.js: if (this._selectedDate.getDate() != oDate.getDate() || this._selectedDate.getMonth() != oDate.getMonth() || this._selectedDate.getFullYear() != oDate.getFullYear() || this._none) however this does not solve the fact that the date is highlighted on all months, ie if you start with 1/1, then 2/1 and 3/1 and 4/1 etc will also be highlighted (css class "selected). this patch also partially resolves TAP5-1408 as you can now close the popup by selecting the current date. > datefield - cannot select same day in different month > ----------------------------------------------------- > > Key: TAP5-1409 > URL: https://issues.apache.org/jira/browse/TAP5-1409 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 5.2.4 > Reporter: Paul Stanton > > say your date format is m/d/yyyy and the initial value is 1/1/2011 and you > want to change it to 2/1/2011.. that is not possible. changing month, the > selected 'day' is still selected and therefore not selectable. > use case: > initial date is 1/1/2011 > 1. open date picker > 2. change month to feb > 3. try to click on 1st of feb > - nothing happens. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.