fix: search box autofilling with username

This commit is contained in:
Antonella Sgarlatta
2021-05-13 12:50:45 -03:00
parent 06d51c9381
commit c771f89982

View File

@@ -374,6 +374,7 @@ function ChallengePrompts({
</div>
) : (
<div key={prompt.id} className="sk-panel-row">
<form className="w-full">
<input
className="sk-input contrast"
value={ctrl.state.values[prompt.id]!.value as string | number}
@@ -392,6 +393,7 @@ function ChallengePrompts({
placeholder={prompt.title}
type={prompt.secureTextEntry ? 'password' : 'text'}
/>
</form>
</div>
)}