Hi,

> JFYI - Tried it and it fails to fix the issue.

It looks to related to a bug in getBeadByType. It’s checking _beads not beads 
and at this point beads has a single element in it but _beads is empty so this 
line:

if (!_beads) return null;

returns null and it doesn’t run the rest of the method and goes ahead and adds 
the bead defined in the CSS.

Some sample code that reporduces this issue:

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                xmlns:js="library://ns.apache.org/flexjs/basic"
                xmlns:accessories="org.apache.flex.html.accessories.*">

    <js:valuesImpl>
        <js:SimpleCSSValuesImpl/>
    </js:valuesImpl>

    <js:initialView>
        <js:View>
            <js:Group>
                <js:beads>
                    <js:VerticalLayout />
                </js:beads>
                <js:Label text="Default" />
                <js:DateField>
                    <js:beads>
                        <accessories:DateFormatDDMMYYYYBead />
                    </js:beads>
                </js:DateField>
            </js:Group>
        </js:View>
    </js:initialView>

</js:Application>

Thanks,
Justin


Reply via email to