소스 검색

fix: Input fields in the model provider's settings modal do not switch sequence via keyboard navigation (Tab key) (#4662)

doufa 1 년 전
부모
커밋
eb8dc15ad6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/app/components/header/account-setting/model-provider-page/model-modal/Input.tsx

+ 1 - 1
web/app/components/header/account-setting/model-provider-page/model-modal/Input.tsx

@@ -39,7 +39,7 @@ const Input: FC<InputProps> = ({
   return (
     <div className='relative'>
       <input
-        tabIndex={-1}
+        tabIndex={0}
         className={`
           block px-3 w-full h-9 bg-gray-100 text-sm rounded-lg border border-transparent
           appearance-none outline-none caret-primary-600