Login by hitting Enter
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user