You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PasswordInput (added in #210) hardcodes className="pr-10"after spreading {...props}, so a className passed by a caller is silently dropped instead of being merged.
Because className="pr-10" comes last, it overrides props.className. None of the current four callers pass a className, so there's no visible bug today — but it's a reusable ui/ component, so the first caller that needs e.g. an error / aria-invalid style will lose it.
Fix
Destructure className out of props and merge it with the base classes via cn:
Activity
n1dhiparate commentedon Jun 9, 2026
Hi! I'd like to work on this issue if it's still available.
MaitreyeeDeshmukh commentedon Jun 9, 2026
Hi! Opened a PR for this: #212. TypeScript and lint both pass clean.
fix(ui): merge caller className in PasswordInput via cn (ansvisor#212)