Choices icon indicating copy to clipboard operation
Choices copied to clipboard

Choice 11.1.0 it is impossible to add html to placeholder

Open Nexxer opened this issue 5 months ago • 1 comments

Describe the bug Before version 11.0.3, using the option allowHTML: true, it was possible to insert html into placeholder. Now all html tags are removed.

To Reproduce https://codepen.io/cnqftxxr-the-looper/pen/pvjjYEO

Expected behavior With the setting allowHTML: true - support for HTML

Choices version and bundle

  • Version: ^11.0.3

Nexxer avatar Jul 18 '25 07:07 Nexxer

This change was part of #1244 where HTML comments would be rendered as part of the choice text instead of being skipped which caused some breakages for other users. There isn't really any good solution as either way it will cause unexpected breakages.

With #1289 which implements support for the label attribute, it is even harder to support extracting partial html from inside the

Xon avatar Aug 16 '25 17:08 Xon