ermouth / jQuery.my

jQuery.my is a plugin that reactively binds form controls with js data structures.

Home Page:https://jquerymy.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot use Enter in textarea in nested form.

w1tebear opened this issue · comments

I am using jQuery.my to bind to a fairly complex object and really like its functionality. Unfortunately, though, I am having a problem where I am unable to create multi-line input in textareas in nested forms. It works ok in the main form but in my nested, repeated, forms the newlines just get "eaten up" - my cursor goes to the next line then immediately jumps back to the end of the first line. I am hoping that this is something that can be fixed. Thanks!

$.my does not process Enter or other keyboard events in special way, so it seems that reason is outside $.my.

You can easily check it changing input to textarea in the Page Layout example at jquerymy.com – all works perfect.

So, please, provide more details or a code sample to look into issue more deeply.

Thank you for your prompt response. This is indeed NOT a problem with $.my but a problem with my own bind function. I apologize for having troubled you.