This is a migrated thread and some comments may be shown as answers.

Retain new lines/white space in combo box value

1 Answer 98 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 06 Jan 2015, 02:46 PM
i have a combobox that is populated from a websocket.  The value for the combobox contains a SPARQL query that needs to retain formatting including white space and new lines.  When I populate the the data source, I explicitly escape the newline characters, but when the value is extracted with combobox.value(), I still lose all the white space and newline characters.  How can I fix this?

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 08 Jan 2015, 11:57 AM

Hello Aaron,

 

The behavior that you observe with the ComboBox is the same as the standard HTML input element, therefore it cannot be supported out of the box with Kendo UI. As it is expected behavior, we do not have a workaround that can be offered at the moment.

Thank you for the understanding.

 

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ComboBox
Asked by
Aaron
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or