Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#5908 closed bug (wontfix)

1.8.3 breaks html in autocomplete suggestions

Reported by: uweo Owned by:
Priority: minor Milestone:
Component: ui.autocomplete Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:


In versions up to 1.8.2 one could put html in the autocomplete suggestions, i.e.:

[{"id":"35","label":"some text<br \/>&nbsp;&nbsp;some more","value":"35 -- blabla"}]

Since version 1.8.3 this is getting escaped, thus breaking the display.

Scott Gonzalez more or less documented the old way in You can put any HTML you want in your object's label and it should work without overriding the render method.

I could override the render method, but the only documentation for it i have seen is in the same forum thread, which does not seem to be a guarantee.

The change has been done in response to . Please revert, or at least document the _renderItem method.

Change History (2)

comment:1 Changed 13 years ago by Scott González

Resolution: wontfix
Status: newclosed

This change won't be reverted as it was intentional. There's already an example of how to accomplish this with the examples. We don't currently have a way to document "private" methods that are really public, but we will document this once we have a way to. In the meantime, the example acts as the documentation.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.