fix: toggle (#5865)

Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
Udit TakkarandPeer Richelsen authored and GitHub committed 2022-12-05 13:28:21 +00:00
1 parent 0930cf50b6
commit 11f467af5d
1 file changed
+2
@@ -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}