ソースを参照

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

doufa 11 ヶ月 前
コミット
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