[CLOSED] Disable a Link component

Any chance we can get an enabled property for the Link component?

We had wondered about this. The difficulty is that disabled hyperlinks aren’t really “a thing” on the web, so coming up with a style that effectively communicates the disabled state to the user is tricky. It’s very common for buttons to be disabled, which is why they do have an enabled property.

That having been said, if you have a particular style in mind then do tell us, and we’ll consider it. In the meantime, you can of course work around this by setting the appearance properties (foreground, background, etc) manually and choosing whether or not to execute the click handler in code.

Hope that helps!

Ian, no problem. I’ve since resorted to just using buttons instead of links. But you’re right - disabled links aren’t a “thing” :slight_smile:

1 Like