Spaces in Select component item

Hi,

I’ve tried to format content of string in TwinColSelect component but this control removes spaces from the string content.

For example:

class Task {
private String code;
private Sring name;

public String getCode() { …}
public String getName() { …}
}

Item item = twinSelect.addItem( task );
item.getItemProperty( “name” ).setValue( task.getCode() +" "+ task.getName() );

I tried to separate Code and Name but all speces but one were removed.

Is it possible to prevent from that?

rgrds,
Sergei