Resolve "Add character counter to bio textarea"
requested to merge johann.sonntagbauer/gitlab-ce:37341-Add-character-counter-to-bio-textarea into master
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
- 50 characters left -> the counter will be shown
- 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?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by Johann Hubert Sonntagbauer