()
| 678 | } |
| 679 | |
| 680 | private getHintTextID(): string | undefined { |
| 681 | const { isInvalid, helperText, errorText, helperTextId, errorTextId } = this; |
| 682 | |
| 683 | if (isInvalid && errorText) { |
| 684 | return errorTextId; |
| 685 | } |
| 686 | |
| 687 | if (helperText) { |
| 688 | return helperTextId; |
| 689 | } |
| 690 | |
| 691 | return undefined; |
| 692 | } |
| 693 | |
| 694 | private renderCounter() { |
| 695 | const { counter, maxlength, counterFormatter, value } = this; |