Good catch! I experienced exactly the same problem - thanks for the
workaround!
Dirk.
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Harald Dehn
Sent: Tuesday, January 23, 2007 9:10 PM
To: [email protected]
Subject: AW: [flexcoders] Re: Setting UIComponent.errorString
creates a black border around the component
Hi,
There is a caching problem of the borderColor in the UIComponent
class. I found the following workaround:
myClass.validateProperties();
myClass.errorString = "";
If you call validateProperties before clearing the errorString
property, everything works fine in my application.
Harald
________________________________
Von: [email protected]
[mailto:[EMAIL PROTECTED] Im Auftrag von harbaugj
Gesendet: Montag, 22. Januar 2007 21:15
An: [email protected]
Betreff: [flexcoders] Re: Setting UIComponent.errorString
creates a black border around the component
I am having this same problem as well. Does anyone have the
resolution
to this?
--- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "brian_m_riley"
<[EMAIL PROTECTED]>
wrote:
>
> I've been using the errorString property of UIComponent to
remove
> errors associated with TextInput fields, but it seems to put a
black
> border around the field instead of just removing the red error
border
> and error string.
>
> Thoughts?
> -riley
>