You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2015/10/21 14:11:27 UTC

[jira] [Updated] (FLEX-34944) GridItemRenderer overrides error tooltip

     [ https://issues.apache.org/jira/browse/FLEX-34944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mihai Chira updated FLEX-34944:
-------------------------------
    Description: 
GridItemRenderer is a UIComponent, which can receive an errorString to signify that validation has failed on the data shown in the renderer. (This is useful when the item editor (e.g. a dropdown list) disappears after the user chooses a value, and the application still needs a way to show the user they need to change the data.)

However, when a validator associated with that renderer fails the validation, the tooltip that appears is either empty or shows the value in that renderer (using the column's itemToDataTip() function). This happens because GridItemRenderer.toolTipShowHandler doesn't take account that the tooltip can be an error tooltip, which it shouldn't alter.

  was:GridItemRenderer is a UIComponent, which can receive an errorString to signify that validation has failed on the data shown in the renderer. (This is useful when the item editor (e.g. a dropdown list) disappears after the user chooses a value, and the application still needs a way to show the user they need to change the data.) However, when a validator associated with that renderer fails the validation, the tooltip that appears is either empty or shows the value in that renderer (using the column's itemToDataTip() function).


> GridItemRenderer overrides error tooltip
> ----------------------------------------
>
>                 Key: FLEX-34944
>                 URL: https://issues.apache.org/jira/browse/FLEX-34944
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Cell Renderers, Spark: Grid
>    Affects Versions: Apache Flex 4.14.1
>            Reporter: Mihai Chira
>            Assignee: Mihai Chira
>             Fix For: Apache Flex 4.15.0
>
>
> GridItemRenderer is a UIComponent, which can receive an errorString to signify that validation has failed on the data shown in the renderer. (This is useful when the item editor (e.g. a dropdown list) disappears after the user chooses a value, and the application still needs a way to show the user they need to change the data.)
> However, when a validator associated with that renderer fails the validation, the tooltip that appears is either empty or shows the value in that renderer (using the column's itemToDataTip() function). This happens because GridItemRenderer.toolTipShowHandler doesn't take account that the tooltip can be an error tooltip, which it shouldn't alter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)