EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: devnull on June 03, 2016, 02:45:26 AM



Title: multline textbox newline
Post by: devnull on June 03, 2016, 02:45:26 AM
http://jsfiddle.net/54v8nacp/48/

I cannot seem to introduce a new line using the normal line feed / carriage return characters ??


Title: Re: multline textbox newline
Post by: stworthy on June 03, 2016, 09:32:20 AM
Please try this:
http://jsfiddle.net/54v8nacp/49/


Title: Re: multline textbox newline
Post by: devnull on June 04, 2016, 06:27:46 PM
Sorry, that won't work as I need to do this programatically



Title: Re: multline textbox newline
Post by: stworthy on June 04, 2016, 07:46:01 PM
To set the newline text in the <input> element, you have to set the 'value' property in 'data-options' attribute. Please refer to http://jsfiddle.net/54v8nacp/51/