mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-20 19:00:57 -06:00
Added 'type=search' and 'name=search' attributes to SearchBox in TemplateContainer
This commit is contained in:
@@ -46,6 +46,8 @@ export default function TemplateContainerWithPreview({
|
||||
onChange={(e) => setTemplateSearch(e.target.value)}
|
||||
placeholder={"Search..."}
|
||||
className="block rounded-md border border-slate-100 bg-white shadow-sm focus:border-slate-500 focus:outline-none focus:ring-0 sm:text-sm md:w-auto "
|
||||
type="search"
|
||||
name="search"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -20,9 +20,6 @@ const SearchBox = React.forwardRef<HTMLInputElement, InputProps>(({ className, .
|
||||
)}
|
||||
ref={ref}
|
||||
{...props}
|
||||
type="search"
|
||||
name="search"
|
||||
placeholder="Search..."
|
||||
/>
|
||||
<div className="pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3">
|
||||
<Search className="h-5 w-5 text-gray-400" />
|
||||
|
||||
Reference in New Issue
Block a user