Skip to content

Values become HTML-encoded #455

@Jaaap

Description

@Jaaap

When i initialize a VirtualSelect with these options:

{
	"name": "myVirtualSelect",
	"showValueAsTags": false,
	"selectAllOnlyVisible": true,
	"setValueAsArray": true,
	"enableSecureText": true,
	"multiple": true,
	"emptyValue": "[]",
	"placeholder": "-None-",
	"allOptionsSelectedText": "All",
	"searchPlaceholderText": "Search…",
	"options": [
		{
			"value": "<",
			"label": "Value with unsafe char <"
		},
		{
			"value": "something",
			"label": "Something"
		}
	],
	"selectedValue": [
		"<"
	],
	"disabledOptions": []
}

and i select the Value with unsafe char <, the hidden input's value becomes ["&lt;"] but that should be ["<"].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions