Disable Safari automatic corection on s3 input fields

This commit is contained in:
Greg Colker 2023-05-12 10:44:19 -04:00
parent e58e434fbd
commit a6daeed85f

View File

@ -93,6 +93,7 @@ export const StoragePrefs = () => {
required
id="endpoint"
type="url"
autoCorrect="off"
defaultValue={s3.credentials?.endpoint}
{...register('endpoint', { required: true })}
className="input default-ring bg-gray-50"
@ -107,6 +108,7 @@ export const StoragePrefs = () => {
required
id="key"
type="text"
autoCorrect="off"
defaultValue={s3.credentials?.accessKeyId}
{...register('accessId', { required: true })}
className="input default-ring bg-gray-50"
@ -121,6 +123,7 @@ export const StoragePrefs = () => {
required
id="secretAccessKey"
type="text"
autoCorrect="off"
defaultValue={s3.credentials?.secretAccessKey}
{...register('accessSecret', { required: true })}
className="input default-ring bg-gray-50"
@ -135,6 +138,7 @@ export const StoragePrefs = () => {
required
id="region"
type="text"
autoCorrect="off"
defaultValue={s3.configuration?.region}
{...register('region', { required: true })}
className="input default-ring bg-gray-50"
@ -149,6 +153,7 @@ export const StoragePrefs = () => {
required
id="bucket"
type="text"
autoCorrect="off"
defaultValue={s3.configuration.currentBucket}
{...register('bucket', { required: true })}
className="input default-ring bg-gray-50"