How to stop combo list from compressing multiple spaces in value

edited March 2018 in Technical questions

For formatting and appearance to the user in a combo view, I have data coming back of the form:

    id: 1,
    value: "Category"
    id: 2,
    value: "Other Category [8 spaces here but even this control destroys them] . . DEPRECATED .."
    id: 3,
    value: "Last Category"

Where a label is being dynamically inserted with extra spacing to have it both more visible and to communicate that the label is NOT part of the category name. Regardless of where there are multiple space, even between words in the main category name, they get compressed down into one space. Why? And how can this be turned off?



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!