Skip to content

Add Disableable support to widget.Hyperlink #6455

Description

@ErikKalkoken

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

The API allows to deactivate a Hyperlink widget dynamically by setting it's URL to nil. This stops the widget from opening the link when the user clicks it. However the widget is still displayed like an active link: The text still is blue and hoovering over it changes the mouse pointer and underlines the text. This can be confusing to a user.

Is it possible to construct a solution with the existing API?

It is technically possible, but a bit cumbersome. One approach would be to create two widgets: One hyperlink and one label and only show one to the user based on it's current state.

Describe the solution you'd like to see.

I like to suggest adding the ability to also visually show when a hyperlink is inactive:

  • hoover should be turned off
  • text should be shown with normal style

This would communicate clearly to the user the current state of the hyperlink.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions