fix: resolve bug de autofill do Chrome preenchendo a busca de provas com 'admin' ao abrir o modal de IA
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m5s Details

This commit is contained in:
Sidney 2026-07-17 22:44:49 -03:00
parent 27deac70c7
commit b0f65b4226
1 changed files with 6 additions and 0 deletions

View File

@ -1181,6 +1181,8 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
<Search className="absolute left-4 top-1/2 -translate-y-1/2 text-slate-400" size={20} />
<input
type="text"
name="search-assessment-field"
autoComplete="off"
placeholder="Buscar avaliação..."
className="pl-12 pr-4 py-3 bg-white border border-slate-200 rounded-xl focus:ring-2 focus:ring-indigo-500 focus:outline-none shadow-sm w-full md:w-64 transition-all"
value={searchTerm}
@ -1486,6 +1488,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
value={aiForm.geminiKey}
onChange={e => setAiForm({ ...aiForm, geminiKey: e.target.value })}
placeholder="Cole a chave (AIzaSy...)"
autoComplete="new-password"
className="w-full px-4 py-2.5 bg-slate-50 border border-slate-200 rounded-xl focus:ring-2 focus:ring-indigo-500 focus:outline-none transition-all font-medium text-slate-800 text-xs"
/>
</div>
@ -1536,6 +1539,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
value={aiForm.openaiKey}
onChange={e => setAiForm({ ...aiForm, openaiKey: e.target.value })}
placeholder="Cole a chave (sk-...)"
autoComplete="new-password"
className="w-full px-4 py-2.5 bg-slate-50 border border-slate-200 rounded-xl focus:ring-2 focus:ring-indigo-500 focus:outline-none transition-all font-medium text-slate-800 text-xs"
/>
</div>
@ -1586,6 +1590,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
value={aiForm.claudeKey}
onChange={e => setAiForm({ ...aiForm, claudeKey: e.target.value })}
placeholder="Cole a chave (sk-ant-...)"
autoComplete="new-password"
className="w-full px-4 py-2.5 bg-slate-50 border border-slate-200 rounded-xl focus:ring-2 focus:ring-indigo-500 focus:outline-none transition-all font-medium text-slate-800 text-xs"
/>
</div>
@ -1636,6 +1641,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
value={aiForm.openrouterKey}
onChange={e => setAiForm({ ...aiForm, openrouterKey: e.target.value })}
placeholder="Cole a chave (sk-or-...)"
autoComplete="new-password"
className="w-full px-4 py-2.5 bg-slate-50 border border-slate-200 rounded-xl focus:ring-2 focus:ring-indigo-500 focus:outline-none transition-all font-medium text-slate-800 text-xs"
/>
</div>