Login by hitting Enter

This commit is contained in:
AG
2025-12-08 07:30:02 +02:00
parent e477f72e64
commit d284563301

View File

@@ -48,6 +48,7 @@ const FilledInput: React.FC<FilledInputProps> = ({ label, value, onChange, onCle
/>
{value !== '' && value !== 0 && (
<button
type="button"
onClick={handleClear}
className={`absolute top-1/2 -translate-y-1/2 p-2 text-on-surface-variant hover:text-on-surface rounded-full opacity-0 group-hover:opacity-100 focus:opacity-100 transition-opacity ${rightElement ? 'right-12' : 'right-2'}`}
tabIndex={-1}