Disable spellcheck on Access Key fields

This commit is contained in:
Greg Colker 2023-05-12 10:45:28 -04:00
parent a6daeed85f
commit d04803fed7

View File

@ -109,6 +109,7 @@ export const StoragePrefs = () => {
id="key" id="key"
type="text" type="text"
autoCorrect="off" autoCorrect="off"
spellCheck="false"
defaultValue={s3.credentials?.accessKeyId} defaultValue={s3.credentials?.accessKeyId}
{...register('accessId', { required: true })} {...register('accessId', { required: true })}
className="input default-ring bg-gray-50" className="input default-ring bg-gray-50"
@ -124,6 +125,7 @@ export const StoragePrefs = () => {
id="secretAccessKey" id="secretAccessKey"
type="text" type="text"
autoCorrect="off" autoCorrect="off"
spellCheck="false"
defaultValue={s3.credentials?.secretAccessKey} defaultValue={s3.credentials?.secretAccessKey}
{...register('accessSecret', { required: true })} {...register('accessSecret', { required: true })}
className="input default-ring bg-gray-50" className="input default-ring bg-gray-50"