question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Dropdown] Remote content should handle quotes in item value properly

See original GitHub issue

When a JSON response for a remote dropdown contains quotes inside a string, it’s misinterpreted as the end of an attribute. See http://jsfiddle.net/1xLsau44/10/ and try inspecting $(".menu").

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
lubber-decommented, Oct 6, 2022

We have sanitized remote Data JSON response for dropdown since Fomantic-UI 2.7.0 https://fomantic-ui.com/modules/dropdown.html#/security

0reactions
jbwlcommented, Oct 19, 2018

Another release (2.4.1) and it seems this bug hasn’t been addressed, at least according to the changelog. Please let us know how we can assist you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Select Value from Dropdown with Apostrophe - Stack Overflow
My guess would be that you're delimiting the option tag's value attribute with a single quote. Try surrounding ...
Read more >
Dropdown - Semantic UI
Dropdown. A dropdown allows a user to select a value from a series of options · Types · Content · States · Variations...
Read more >
SET QUOTED_IDENTIFIER settings in SQL Server
This article gives an overview of the QUOTED_IDENTIFIER set option and its behaviour in SQL Server queries with single and double-quotes.
Read more >
<img>: The Image Embed element - HTML - MDN Web Docs
Alt text is also displayed on the page if the image can't be loaded for some reason: for example, network errors, content blocking, ......
Read more >
Passing Information via Query Strings - Qualtrics
a new survey flow element. select embedded data ... This ensures values with spaces and special characters carry over properly into the query...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found