You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The option allowHTML when creating a choice element allows label to have html input instead of just text. When you call .refresh() on the created choice element after that, it does not render the text inside label as html, but as normal text. Causing html tags to be displayed.
click the button to call the refresh function and you'll see the selected element changing and showing the html tags
Expected behavior
You'd expect the html to render instead of plain text
Choices version and bundle
Found this bug in 10.2.0 under different circumstances, but as the example shows it is a problem in 11.0.2. Simple example with 10.2.0 version works, so I'm trying to find the underlaying cause for the same issue I'm facing there.
The text was updated successfully, but these errors were encountered:
Describe the bug
The option allowHTML when creating a choice element allows label to have html input instead of just text. When you call .refresh() on the created choice element after that, it does not render the text inside label as html, but as normal text. Causing html tags to be displayed.
To Reproduce
click the button to call the refresh function and you'll see the selected element changing and showing the html tags
Expected behavior
You'd expect the html to render instead of plain text
Choices version and bundle
Found this bug in 10.2.0 under different circumstances, but as the example shows it is a problem in 11.0.2. Simple example with 10.2.0 version works, so I'm trying to find the underlaying cause for the same issue I'm facing there.
The text was updated successfully, but these errors were encountered: