()
| 1131 | } |
| 1132 | |
| 1133 | private getHintTextId(): string | undefined { |
| 1134 | const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this; |
| 1135 | |
| 1136 | if (isInvalid && errorText) { |
| 1137 | return errorTextId; |
| 1138 | } |
| 1139 | |
| 1140 | if (helperText) { |
| 1141 | return helperTextId; |
| 1142 | } |
| 1143 | |
| 1144 | return undefined; |
| 1145 | } |
| 1146 | |
| 1147 | /** |
| 1148 | * Renders the helper text or error text values |
no outgoing calls
no test coverage detected