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
Build and Deploy (Gitea) / build-and-deploy (push) Successful in 2m5s
Details
This commit is contained in:
parent
27deac70c7
commit
b0f65b4226
|
|
@ -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} />
|
<Search className="absolute left-4 top-1/2 -translate-y-1/2 text-slate-400" size={20} />
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
|
name="search-assessment-field"
|
||||||
|
autoComplete="off"
|
||||||
placeholder="Buscar avaliação..."
|
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"
|
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}
|
value={searchTerm}
|
||||||
|
|
@ -1486,6 +1488,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
|
||||||
value={aiForm.geminiKey}
|
value={aiForm.geminiKey}
|
||||||
onChange={e => setAiForm({ ...aiForm, geminiKey: e.target.value })}
|
onChange={e => setAiForm({ ...aiForm, geminiKey: e.target.value })}
|
||||||
placeholder="Cole a chave (AIzaSy...)"
|
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"
|
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>
|
</div>
|
||||||
|
|
@ -1536,6 +1539,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
|
||||||
value={aiForm.openaiKey}
|
value={aiForm.openaiKey}
|
||||||
onChange={e => setAiForm({ ...aiForm, openaiKey: e.target.value })}
|
onChange={e => setAiForm({ ...aiForm, openaiKey: e.target.value })}
|
||||||
placeholder="Cole a chave (sk-...)"
|
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"
|
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>
|
</div>
|
||||||
|
|
@ -1586,6 +1590,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
|
||||||
value={aiForm.claudeKey}
|
value={aiForm.claudeKey}
|
||||||
onChange={e => setAiForm({ ...aiForm, claudeKey: e.target.value })}
|
onChange={e => setAiForm({ ...aiForm, claudeKey: e.target.value })}
|
||||||
placeholder="Cole a chave (sk-ant-...)"
|
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"
|
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>
|
</div>
|
||||||
|
|
@ -1636,6 +1641,7 @@ const Exams: React.FC<ExamsProps> = ({ data, updateData }) => {
|
||||||
value={aiForm.openrouterKey}
|
value={aiForm.openrouterKey}
|
||||||
onChange={e => setAiForm({ ...aiForm, openrouterKey: e.target.value })}
|
onChange={e => setAiForm({ ...aiForm, openrouterKey: e.target.value })}
|
||||||
placeholder="Cole a chave (sk-or-...)"
|
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"
|
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>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue