[ 
https://issues.apache.org/jira/browse/MYFACES-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773756#comment-17773756
 ] 

Volodymyr Siedlecki commented on MYFACES-4628:
----------------------------------------------

TODO: Port to 4.1

> Disabled Value Bug in 4.0 (Erroneous  'value is required' message) 
> -------------------------------------------------------------------
>
>                 Key: MYFACES-4628
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4628
>             Project: MyFaces Core
>          Issue Type: Improvement
>    Affects Versions: 4.0.1
>            Reporter: Volodymyr Siedlecki
>            Assignee: Volodymyr Siedlecki
>            Priority: Major
>             Fix For: 4.0.2
>
>
> A 'value is required' message will appear erroneously if you submit a 
> required select tag where one of the selections is disabled. The selection 
> submitted is not disabled.
> [https://github.com/apache/myfaces/blob/df17470c6a90c42c3554138ec587e3e04f3d6cf9/impl/src/main/java/org/apache/myfaces/renderkit/html/util/HtmlRendererUtils.java#L315]
>  
> Should be 
> if(convertedValue.equals({*}submittedValue{*}))



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to