webtrees icon indicating copy to clipboard operation
webtrees copied to clipboard

TomSelect option display

Open ric2016 opened this issue 1 year ago • 0 comments

When presenting a list of options, such as individuals, the entries are formatted nicely (e.g. via TomSelectIndividual.php returning html code via individual.phtml). In the options list, this formatting is lost (probably because the option tag doesn't support inner tags).

See e.g. a chart on the demo server:

Formatted: selected

Plain (after selecting an entry and submitting via 'view'): displayed

Perhaps move the formatting out of the option element, as described here (under 'Data-* Attributes')?

ric2016 avatar Mar 18 '23 15:03 ric2016