Browse Source

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

doufa 11 months ago
parent
commit
eb8dc15ad6

+ 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