[OutSystems UI Web] Section index not working if section title placeholder contains dot
Forge component by OutSystems R&D
Application Type
Traditional Web

Hi,

widget "section index" is not working if text in title placeholder of section contains a dot.

Seems that this case results in an invalid jquery selector:

Is it a known bug? Can you provide a fix for it?

Thanks & best regards,

Magnus

It looks like a bug.

The JQuery ID selectors do not support some special characters. (https://api.jquery.com/category/selectors/)

To work, it should be added a replace:


Hi, Magnus,

I didn't try it here, but I suggest you try the function EncodeHTML() from HTMLRenderer on the text. 

Hope it helps.

Best regards

Hi Kadu,

thanks for the idea, I tried it with build in function "EncodeHTML()", but since a dot will not be encoded it does not work.

Best regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.