Skip to content

Calling setValue with string containing double quotes produces error #24

@papuass

Description

@papuass

If setValue is called with a string containing double quotes (for example, "Foo Bar" Ltd.) an exception is thrown in the browser console and the value is not set in the input box.

Doing string replacement with escaped double quotes solves the issue and is displayed correctly.

	private String escapeQuotes(String value) {
		return value.replace("\"", "\\\"");
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions