Merge branch 'hotfix/3.6.14' into main

This commit is contained in:
Antonella Sgarlatta
2021-05-19 16:33:21 -03:00
2 changed files with 5 additions and 8 deletions

View File

@@ -374,7 +374,10 @@ function ChallengePrompts({
</div>
) : (
<div key={prompt.id} className="sk-panel-row">
<form className="w-full">
<form className="w-full" onSubmit={(event) => {
event.preventDefault();
ctrl.submit();
}}>
<input
className="sk-input contrast"
value={ctrl.state.values[prompt.id]!.value as string | number}
@@ -383,12 +386,6 @@ function ChallengePrompts({
ctrl.state.values[prompt.id]!.value = value;
ctrl.onTextValueChange(prompt);
}}
onKeyUp={(event) => {
if (event.key === 'Enter') {
event.preventDefault();
ctrl.submit();
}
}}
ref={index === 0 ? initialFocusRef : undefined}
placeholder={prompt.title}
type={prompt.secureTextEntry ? 'password' : 'text'}

View File

@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.6.13",
"version": "3.6.14",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",