Fix no-base-to-string

This commit is contained in:
Gregory Schier
2026-03-13 07:48:50 -07:00
parent e4103f1a4a
commit be34dfe74a
11 changed files with 14 additions and 10 deletions

View File

@@ -329,7 +329,7 @@ function BaseInput({
</HStack>
{type === 'password' && !disableObscureToggle && (
<IconButton
title={obscured ? `Show ${label}` : `Obscure ${label}`}
title={obscured ? `Show ${typeof label === 'string' ? label : 'field'}` : `Obscure ${typeof label === 'string' ? label : 'field'}`}
size="xs"
className={classNames('mr-0.5 !h-auto my-0.5', disabled && 'opacity-disabled')}
color={tint}