()
| 607 | if (customError) { |
| 608 | customError.textContent = message || ''; |
| 609 | customError.classList.toggle('hidden', !message); |
| 610 | } |
| 611 | customValue?.setAttribute('aria-invalid', message ? 'true' : 'false'); |
| 612 | }; |
| 613 | const resolveCustom = () => resolveCustomShareExpiry(customValue?.value, customUnit?.value); |
| 614 | |
| 615 | // Save custom values when changed and handle Enter key |
| 616 | if (customValue && customUnit) { |
nothing calls this directly
no test coverage detected