Skip to content

Commit

Permalink
fix react captcha not reacting to input in text mode
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Jan 9, 2025
1 parent 5f38173 commit ba01a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions adhocracy4/static/Captcha.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ const CaptCheck = ({ apiUrl, name, onChange, refresh }) => {
name="captcheck_selected_answer"
aria-label="Type your answer here."
autoComplete="off"
onInput={(e) => chooseAnswer(e, e.target.value, false)}
/>
</div>
)}
Expand Down
1 change: 1 addition & 0 deletions changelog/_0002.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
### Fixed

- fixed other answer input field being disabled for unregistered users
- fix Captcha text mode not reacting to input

0 comments on commit ba01a1a

Please sign in to comment.