瀏覽代碼

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