• Hi,

    Thank you for this nice little plugin !

    I have a small request; i have a repeater with a text area for which the content is added dynamically, via javascript (i.e. when i select a specific value in another field of the row, the text area is filled with the corresponding content).
    In this case, the text area won’t resize (it will resize only if i edit the text area or if i save the post).

    My javascript skills are limited, so i didn’t manage to add a code that makes it work. Here is what i have :

    $(“[data-name=’product’] select”).on(“change”, function (???));

    Thank you in advance !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Yeah GbR

    (@yeah8000)

    Hi there,

    I just released a new version, that might fix this problem. Would you mind updating and giving it a try?

    Also: Are you talking about textareas or wysiwyg-editors? Because they function differently.

    Regards

    Thread Starter ktib

    (@ktib)

    Hi,

    I’m sorry, it seems like i had missed your reply.
    I tested it and it doesn’t seem to work.

    Alternatively, is there an action i could add to my JS code to trigger the autosize ?
    Let’s say I have :

    $(thisRow).find(".mytextareafield textarea").val("my text with various lines");

    What could I add below to resize the textarea field?

    But it’s okay really, it’s just a detail.

    Thank you for your reply anyway !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Autosize text areas filled dynamically’ is closed to new replies.