This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 2 years, 8 months ago.

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

  • damerval

    I have a textArea in a window which is used to edit the values of a record. I assign values to the fields in the window and then present the window tot he user. When the value of the textarea field is non-null, it loads the value correctly. When it is null, it doesn’t affect the contents of the textarea and the value from the previous non-null record loaded shows in the textarea, leading to bad data. This behavior can be circumvented with a test for null, but this is not ideal as A) the empty string and null are not the same thing and B) programmers being human they ten to forget this flaw and get a bug every time. If the textarea could be updated to match the behavior of jqxInput (where setting val to null effectively clears the input) that would be very helpful. Thank you.

    P.S. I don’t know if this is relevant but I am a paying jqWidgets customer. Thanks.


    Hello damerval,

    If I understand you then you could set an empty string to clear the content of the jqxTextArea.
    Please, try the approach below:
    $("#jqxTextArea").jqxTextArea("val", "");
    I hope this will help.

    Best Regards,
    Hristo Hristov

    jQWidgets team

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

You must be logged in to reply to this topic.