I'm building an application where I have a shopping list which has name and description.

The name field is a text input and the description is a textarea.

Currently, the Name and the Description can be updated by pressing either Enter or Escape key. Updating the input field on pressing Enter is okay. But in the textarea, where the user wants to make a multi-line message with line breaks it's not intuitive and confusing and should be done by "SAVE" button.

What's your opinion?

  • This doesn't answer your question but perhaps some food for thought: What if someone was using your app on a mobile or tablet? How would they save their work without an Enter button? Can you offer a similar experience to the user, regardless what device they are using? – joeytwiddle Apr 15 '19 at 8:51
  • By clicking outside the textarea or input you're saving the field. But thank you for this comment, cause I realized that it may be totally bad way for mobile users to save the data from text fields :) – p7adams Apr 15 '19 at 12:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.