Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HyperlinkButton disables after click #1448

Closed
fabriciomurta opened this issue Mar 21, 2017 · 0 comments
Closed

HyperlinkButton disables after click #1448

fabriciomurta opened this issue Mar 21, 2017 · 0 comments
Assignees
Milestone

Comments

@fabriciomurta
Copy link
Contributor

The Ext.Net.HyperlinkButton (Ext.net.HyperlinkButton) is toggling its enabled state every time it is clicked.

Originally the component had the toggle() method to toggle its state, which is being called by current ExtJS button parent class probably as a feature with buttons that support being toggled on/off (as clicked/depressed and not clicked/not depressed).

A simple way out of this would be just to call item.toggle() on the hyperlink button's click handler.

The HyperlinkButton is an Ext.NET-specific feature. The problem was introduced by a call of .toggle() from the default ExtJS button click handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant