Matthew Hegarty
Matthew Hegarty

Reputation: 4306

multi-select options escaping characters

I have a DOM multi-select filter on a single column in a table. The filter is defined with:

yadcf.init(table, [{
  column_number: 1,
  filter_type: "multi_select",
  select_type: 'select2',
  select_type_options: {theme: 'bootstrap', width: '250px'},
}]);

When the select is rendered, then it is escaping characters which appear in the table, such as '>', which means that the filtering does not work.

enter image description here

Does anyone know how to fix this?

Upvotes: 1

Views: 104

Answers (1)

Matthew Hegarty
Matthew Hegarty

Reputation: 4306

We fixed this by adding:

column_data_type: "rendered_html"

yadcf docs

Upvotes: 0

Related Questions