File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function MyReposResultsSearchBar({
4242 < div className = "space-y-2" >
4343 < div className = "relative" >
4444 < HighlightedInput
45- type = "text "
45+ type = "search "
4646 value = { query }
4747 onChange = { ( e ) => {
4848 handleInputChange ( e ) ;
@@ -126,7 +126,7 @@ export function MyReposSearchBar() {
126126 < div className = "relative" >
127127 < HighlightedInput
128128 ref = { inputRef }
129- type = "text "
129+ type = "search "
130130 value = { query }
131131 onChange = { ( e ) => {
132132 handleInputChange ( e ) ;
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ export function ResultsSearchBar({ query: initialQuery }: { query: string }) {
267267 </ div >
268268 < div className = "relative" >
269269 < HighlightedInput
270- type = "text "
270+ type = "search "
271271 value = { query }
272272 onChange = { ( e ) => {
273273 handleInputChange ( e ) ;
@@ -385,8 +385,7 @@ export function HomepageSearchBar() {
385385 size = { 18 }
386386 />
387387 < HighlightedInput
388- ref = { inputRef }
389- type = "text"
388+ type = "search"
390389 value = { query }
391390 onChange = { ( e ) => {
392391 handleInputChange ( e ) ;
@@ -395,6 +394,7 @@ export function HomepageSearchBar() {
395394 onKeyDown = { handleKeyDown }
396395 onFocus = { handleFocus }
397396 onBlur = { handleBlur }
397+ ref = { inputRef }
398398 removedOperators = { removedOperators }
399399 className = "rounded-full border-gray-300 pl-11 pr-10 focus:border-transparent focus:ring-2 focus:ring-blue-500"
400400 placeholder = { placeholderText }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments