[ 
https://issues.jboss.org/browse/RF-13102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonáš Trantina updated RF-13102:
--------------------------------

    Description: 
When a rich:calendar component has datePattern without a day (e.g. MM/yyyy) 
then selected date is cleared when opening the calendar (you can see today date 
instead of the previously selected date).
However, when the form is sent, the value is correctly assigned to the binded 
value.
Example:
{noformat}
<rich:calendar value="#{richBean.date}" datePattern="yyyy-MM"/>
{noformat}

  was:
When a rich:calendar component has datePattern without a day (e.g. MM/yyyy) 
then selected date is cleared when opening the calendar (you can see today date 
instead of the previously selected date).
However, when the form is sent, the value is correctly assigned to the binded 
value.
{noformat}
<rich:calendar value="#{richBean.date}" datePattern="yyyy-MM"/>
{noformat}


    
> rich:calendar with date pattern- input gets cleared on click
> ------------------------------------------------------------
>
>                 Key: RF-13102
>                 URL: https://issues.jboss.org/browse/RF-13102
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.3.Final
>            Reporter: Jonáš Trantina
>
> When a rich:calendar component has datePattern without a day (e.g. MM/yyyy) 
> then selected date is cleared when opening the calendar (you can see today 
> date instead of the previously selected date).
> However, when the form is sent, the value is correctly assigned to the binded 
> value.
> Example:
> {noformat}
> <rich:calendar value="#{richBean.date}" datePattern="yyyy-MM"/>
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to