Skip to content

Resolve "Add character counter to bio textarea"

What does this MR do?

This MR adds a character counter indicator to all text input fields and textareas with a set maxlength attribute. It will highlight the left over characters until the max length is reached.

2 hard limits are set

  1. 50 characters left -> the counter will be shown
  2. 30 characters left -> the counter turns yellow

Detailed example can be seen here (although the red color is not present any longer) https://gitlab.com/gitlab-org/gitlab-ce/issues/37341#note_106611799

Also this MR finishes the work started by @brancho in !14012 (closed)

What are the relevant issue numbers?

Closes #37341 (moved)

Does this MR meet the acceptance criteria?

Edited by Johann Hubert Sonntagbauer

Merge request reports