Like I said to you - Use property which is inside bead. Property is being
called "disabled" - Do you see it?

I recommend you as well to use some additional Bindable property instead
reach bead trough array beads - It's definitely not recommended.

[Bindable]
private var myProperty:Boolean;

<Disabled disabled={myProerty} />

Thanks,
Piotr

On Fri, May 3, 2019, 9:43 AM choirul anam <ichsan.a...@gmail.com> wrote:

> I am trying to do with :
>
> <j:TextInput id="txtCode">
>             <j:beads>
>                 <j:TextPrompt  prompt="Project Code" id="promptCode" />
>                 <j:StringValidator required="5" autoTrim="false"
> requiredFieldError="Need more than 5 characters"/>
>
>                 <j:Disabled/>
>             </j:beads>
>         </j:TextInput>
>
>
> and when some button click :
>
> private function btnAdd_click(event:MouseEvent):void
> {
>         txtCode.beads[2]=false;
> }
>
> Why that code is not working? How to set up ?
>
>
>
>
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/
>

Reply via email to