Text Area Wrapping in IE11

Is there anywhere where we can control the wrapping without making someone use another browser than IE?
I see there is a solution for css using white-space: pre-wrap
but I dont think you can put that anywhere in SC

Kevin

Hi Kevin,
You can echo out style css code in events like onScriptInit. I am not sure what your exact problem is, but in general do this in the event:

echo "<STYLE>

.someclass {
color: red;
}

#someid {
display: none;
}

</STYLE>";

That basically echos out the css that will change (potentially) your displayed css. You can put in as much or little css as you wish.

Sometimes you will encounter things that have to do with the order of the css and the echo’d style. But I have used this on all sorts of apps for years. Sometimes it is just faster to use the chrome developer tools to look at the HTML and CSS on an app screen, and do the quick fix echo stytle.

Hope that gives you ideas,
Jamie

If you have a HTML editor or a multiple line field and you type into it using internet explorer, when you get to the end of the text area the typing continues and doesn’t wrap.
The CSS that will stop it is only for the text area, I don’t know how to tell it to use the CSS

Here is why it’s happening but solving is beyond me

The cause of the problem is that Internet Explorer 11 makes textarea elements inherit whatever white-space property is applied to the direct parent.

The resolution is to apply white-space: pre-wrap to the textarea.

How do you do a text area configure in scriptcase
Using CSS and echoing it

Very easy to reproduce and check

Kevin

Mismo problem sobre windows Server 2012 R2. A la fecha no solucionado

Well the ONLY solution I have found is to manually change the text in the file (application file name with a zero on end) from nowrap to prewrap…
I should be able to control this from the source generation…

Kevin