[ 
https://issues.apache.org/jira/browse/FLEX-35049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15817244#comment-15817244
 ] 

Devsena edited comment on FLEX-35049 at 1/11/17 5:39 AM:
---------------------------------------------------------

I recently noticed that the original JIRA issue was raised for *TextButton* 
disabling feature. The bead that I proposed was targeted for *TextInput* 
rather. But anyway, _TextInput_ also required this feature.

Furthermore, I tried to use the existing *DisableBead* in following way:
{code}
<js:TextButton text="Enable/Disable input field"
                        click="textbutton1_clickHandler(event)">
        <js:beads>
                <js:DisableBead disabled="false"/>
        </js:beads>
</js:TextButton>
{code}
But it didn't worked neither in SWF or HTML. In SWF, it's not disabled. In 
HTML, the button is vanished from the UI; it's not added to the display list at 
all.


was (Author: santanu4ver):
I recently noticed that the original JIRA issue was raised for *TextButton* 
disabling feature. The bead that I proposed was targeted for *TextInput* 
rather. But anyway, _TextInput_ also required this feature.

> TextButton 'enabled=false' never works in HTML
> ----------------------------------------------
>
>                 Key: FLEX-35049
>                 URL: https://issues.apache.org/jira/browse/FLEX-35049
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.5.0
>            Reporter: Devsena
>              Labels: WrappedSprite
>         Attachments: 2017_01_10__DisabledInputBead_SWF.jpg, 
> PNDisabledInputBead.as
>
>
> <js:ToggleTextButton/> or <js:TextButton/> 'enabled' property never works 
> when output as HTML. Buttons are anyway clickable even when 'enabled=false'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to