MickMalone1983
MickMalone1983

Reputation: 1054

Flex 4 ColorPicker not editable

I've got an application with several ColorPickers in them - they're just used as-is, no data provider-derived colours or anything - with editable = true. However, the textfield used to display/input the hex code for the selected colour is greyed out and uneditable. I can't find any help for this, only a plethora of tutorials telling me to set editable as true, which obviously doesn't work.

Have also tried binding to data array of colours, but this does nothing except stop the field from being greyed out (though no text appears or can be edited inside it).

Does anyone know how I can stop this happening? Thanks in advance.

Upvotes: 0

Views: 167

Answers (3)

MickMalone1983
MickMalone1983

Reputation: 1054

Appears a dodgy font (set as the default for the entire application) was not showing up in the hex panel - forcing it to Arial did the trick. Probably more a result of the crazy set of fonts we have to use than anything but worth doing if anyone else gets a problem like this!

Upvotes: 0

Alexander Farber
Alexander Farber

Reputation: 22978

Works for me with Flex 4.10.0 (can edit the text field):

<mx:ColorPicker id="_bgPicker" showTextField="true" />

Upvotes: 1

drkstr101
drkstr101

Reputation: 807

It works for me just fine in Flex 3.6A and 4.6.0. Is there maybe something else your doing that is non standard? What theme are you using? Can you produce a test case that demonstrates the issue? (PS: sorry, I can't add comments yet)

Upvotes: 1

Related Questions