Page 1 of 1

Hyperlink Titles & Events Suggestion

Posted: March 25th, 2022, 4:59 pm
by JefferyD
Working with the hyperlink controls, I've encountered some complications.
  • I have a link amid several label controls, but I can't easily get it to match as the labels all have titles defined.
  • That link is for opening a modal window and not actually for navigation, but the href cannot be removed and is causing odd behavior. Any attempts to disable the href either doesn't work or also disables the onclick that the event is mapped to.

I noticed that labels and inputs generate as multiple elements while hyperlinks only generate as a single <a> tag.
Label Example

Code: Select all

<div control-type="label" onclick="Event()">
	<div control-title="">Title Content</div>
	<span>Text Content</span>
</div>
Suggestion
Could hyperlinks be made to generate the same way? This would allow titles to be added as well as allow events to be decoupled from the href thus granting more individual control over the 2 features.

Code: Select all

<div control-type="hyperlink" onclick="Event()">
	<div control-title="">Title Content</div>
	<a href="">Text Content</a>
</div>

Re: Hyperlink Titles & Events Suggestion

Posted: March 30th, 2022, 8:47 pm
by SteveCap
Task #10299 has been created. This post will be updated when it has been completed.

Re: Hyperlink Titles & Events Suggestion

Posted: September 20th, 2022, 10:24 am
by JustinVanRegenmorter
This issue has been resolved in RunTime Revision 1068.