Retain new lines/white space in combo box value

2 posts, 0 answers
  1. Aaron
    Aaron avatar
    15 posts
    Member since:
    Feb 2013

    Posted 06 Jan 2015 Link to this post

    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?
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2598 posts

    Posted 08 Jan 2015 Link to this post

    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.


    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top