Topic: Enter Key not working in Textarea

Uzair Hameed free asked 4 years ago


Expected behavior When user press enters key inside textarea the cursor goes to the next line.

Actual behavior When user press enters key inside textarea the cursor does not go to the next line.

enter code here <div class="md-form mt-1">
                        <textarea name="COMPLAINT_DETAILS" type="text" id="textareaComplaintDetails" class="md-textarea form-control" rows="4" maxlength="500" required="" style="padding: 0.9rem 0 0 0 !important;"></textarea>
                        <label for="textareaComplaintDetails" class="">Enter your complaint (max 500 words)</label>
                    </div>

![enter image description here][1]: https://drive.google.com/open?id=1JWzDTJ9uxVi4uKV7FjDQ6ZDwn422zayx

Resources (screenshots, code snippets, etc.) I have an issue when I press enter in a textarea the cursor not go to next line. Normally in bootstrap textarea When user press enters then cursor goes to the next line but in Mdb 4.7.5 version when press enters in textarea cursor not go to the next line. Can you please guide how I change the behavior of cursor move to next line when press enter?


MDBootstrap staff answered 4 years ago


Hi Uzair Hameed,|

Can you update your package to our new version? There is newly released package today MDB 4.8.10. Check if your text area behaviour will be correct while using this brand new one.

Best Regards, Piotr


Uzair Hameed free commented 4 years ago

Where I can find this version in my Pro account? How I update package to the new version?


Bartłomiej Malanowski staff commented 4 years ago

You should be able to download the latest version from your account page


Uzair Hameed free commented 4 years ago

I use the MDB Free 4.8.10 version but still Enter key not working inside textarea?


MDBootstrap staff commented 4 years ago

Can you observe this behaviour in these text areas we present on our site? https://mdbootstrap.com/docs/jquery/forms/textarea/ If your answer is no, then it probably is an implementation issue because we use the same package on our site. (Just a pro version)

Best Regards, Piotr



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.7.5
  • Device: Desktop
  • Browser: Google Chrome
  • OS: Window 10
  • Provided sample code: No
  • Provided link: Yes