fix: toggle (#5865)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Udit Takkar
2022-12-05 13:28:21 +00:00
committed by GitHub
co-authored by Peer Richelsen
parent 0930cf50b6
commit 11f467af5d
@@ -124,6 +124,7 @@ export const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function
)}
<Input
id={id}
type={type}
placeholder={placeholder}
{...passThrough}
{...(type == "search" && {
@@ -161,6 +162,7 @@ export const InputField = forwardRef<HTMLInputElement, InputFieldProps>(function
) : (
<Input
id={id}
type={type}
placeholder={placeholder}
className={className}
{...passThrough}