Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2286B181B5 for ; Wed, 21 Oct 2015 14:20:05 +0000 (UTC) Received: (qmail 6811 invoked by uid 500); 21 Oct 2015 14:19:30 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 6365 invoked by uid 500); 21 Oct 2015 14:19:29 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 6330 invoked by uid 99); 21 Oct 2015 14:19:29 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 14:19:29 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D08612C1F71 for ; Wed, 21 Oct 2015 14:19:27 +0000 (UTC) Date: Wed, 21 Oct 2015 14:19:27 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34944) GridItemRenderer overrides error tooltip MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Chira updated FLEX-34944: ------------------------------- Attachment: FLEX-34944.ZIP > 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 > > Attachments: FLEX-34944.ZIP > > > 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 red tooltip that appears is either empty or shows the value in that cell (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)