autocomplete='off' in ItemForm

This commit is contained in:
Anton 2023-10-10 00:18:44 +02:00
parent c43bfdb2c2
commit a3a41ba34b

View File

@ -113,7 +113,7 @@ export function ItemFormPopup(props: ItemFormPopupProps) {
} }
}} }}
position={props.position}> position={props.position}>
<form ref={formRef} onReset={resetPopup} onSubmit={e => handleSubmit(e)}> <form ref={formRef} onReset={resetPopup} autoComplete='off' onSubmit={e => handleSubmit(e)}>
{props.item ? <div className='tw-h-3'></div> {props.item ? <div className='tw-h-3'></div>
: :
<div className='tw-flex tw-justify-center'><b className="tw-text-xl tw-font-bold">New {props.layer.name}</b></div> <div className='tw-flex tw-justify-center'><b className="tw-text-xl tw-font-bold">New {props.layer.name}</b></div>