Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • aleidenfrost
    Participant

    Hi jqwidgets team!
    I want to use jqxTextArea to show wide input fields. At first, this seems to work: I set the width to large percentages and the text area appears in the appropriate size.
    The problem is: when you enter text, all lines break after 248px if the text area is wider than that.
    This is my html:

    <body style="width:100%">
                <div style="float:left; margin:2em;width:45%;height:30%">
                    <label>Label1</label>
                    <textarea id="firstTextArea" style="width:100%;height:90%"></textarea>
                </div>
                <div style="float:left; margin:2em;width:45%; height:30%">
                    <label>Label2</label>
                    <textarea id="secondTextArea" style="width:100%;height:90%"></textarea>
                </div>    
    </body>

    and this is my initialisation (called in the success function of an ajax call):

                        $('#firstTextArea').jqxTextArea({
                            width: "100%",
                            height: "100%",
                            placeHolder: "interne Fehleranalyse"
                        });
                        $('#secondTextArea').jqxTextArea({
                            width: "100%",
                            height: "100%",
                            placeHolder: "externe Fehleranalyse"
                        });
    

    Is there some additional property I have to set to get the text to use the whole widget’s width?

    Thanks for your help,
    Anne


    Peter Stoev
    Keymaster

    Hi Anne,

    Thank you for the feedback.

    We will look into that and test this case.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.