Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IW 15.0.17 tempalte control tags with - inside attribute names.
#1
Bug 
IntraWeb 15 release notes mention: "Templates: Attributes are allowed inside template control tags". This means that the following works great:

{%IWEDIT1 placeholder="something"%}

This becomes the following (styles removed for readability):

<input CLASS="IWEDIT1CSS" ID="IWEDIT1" NAME="IWEDIT1" placeholder="Actie-ID" TabIndex="1" TYPE="TEXT" VALUE="IWEdit1">

However, if I add the following attribute inside a template control tag:


{%IWEDIT1 data-dom="test" placeholder="something"%}

Then the resulting HTML tag becomes as follows:

<input CLASS="IWEDIT1CSS" data="" ID="IWEDIT1" NAME="IWEDIT1" TabIndex="1" TYPE="TEXT" VALUE="IWEdit1">

It looks like everything after the - in data is removed, including the placeholder tag.

Is there a way to include attributes that contain a - character??

Thanks in advance!

Groetjes, Bob Swart
Reply


Messages In This Thread
IW 15.0.17 tempalte control tags with - inside attribute names. - by ebob42 - 01-15-2019, 03:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)