()
| 692 | } |
| 693 | |
| 694 | private renderCounter() { |
| 695 | const { counter, maxlength, counterFormatter, value } = this; |
| 696 | if (counter !== true || maxlength === undefined) { |
| 697 | return; |
| 698 | } |
| 699 | |
| 700 | return <div class="counter">{getCounterText(value, maxlength, counterFormatter)}</div>; |
| 701 | } |
| 702 | |
| 703 | /** |
| 704 | * Responsible for rendering helper text, |
no test coverage detected