Skip to content

Sidebar Disable Navigation Item #3694

Answered by SiTaggart
ehsaan-changa asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ehsaan-changa

That is something we have not considered and not something we saw any use cases for.

Like Nora mentioned, links can't be disabled in HTML. Technically, something that is no longer a link is just text. To achieve that though we'd need to consider its visual treatment within the sidebar as it would need to look visually different from linked items to make it accessible, which isn't something we have cycles for right now.

As a short term option I would suggest placing a "coming soon" badge in the item itself, similar to the beta badge. I believe you can just pass it as a child.

Then with the use of a JavaScript event handler, place an on click event on the item and prevent …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ehsaan-changa
Comment options

@SiTaggart
Comment options

Answer selected by nkrantz
@ehsaan-changa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
External This Discussion was posted by a non-Twilio Paste consumer
4 participants