()
| 394 | } |
| 395 | |
| 396 | private getHintTextId(): string | undefined { |
| 397 | const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this; |
| 398 | |
| 399 | if (isInvalid && errorText) { |
| 400 | return errorTextId; |
| 401 | } |
| 402 | |
| 403 | if (helperText) { |
| 404 | return helperTextId; |
| 405 | } |
| 406 | |
| 407 | return undefined; |
| 408 | } |
| 409 | |
| 410 | /** |
| 411 | * Responsible for rendering helper text and error text. |
no outgoing calls
no test coverage detected