Fix Link Button href=# to actually contain the link - Mendix Forum

Fix Link Button href=# to actually contain the link

4

Currently, when you use a Link Button it sets the href attribute of the link to “#”. This means that if a user tries to copy the link using “Copy link address” it won’t copy the link correctly. Secondly, if the user right clicks the link using “Open link in new tab”, the link doesn’t work.

Example:

1. Setup a Button using Render mode “Link”:

2. Link rendered in the App has a “#” as a reference in <a href=”#”></a>:

3. Result is when right clicking on this link won’t work:

Expected behavior: That the link is copied / opened correctly when right clicking.

asked
1 answers

Similar people experiencing this: https://forum.mendix.com/link/questions/109347

Created