Skip to content

Commit

Permalink
Clear button inside for should have type=button
Browse files Browse the repository at this point in the history
* Without it, the button will capture the enter key instead of the
  submit button
  • Loading branch information
MartinRiese committed Jun 26, 2024
1 parent 2e27cfb commit a67d3f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</div>
</div>
</div>
<button class="btn btn-default btn-xs pull-right" data-bind="click: onClear, fadeVisible: !isMulti && rawAnswer()">
<button type="button" class="btn btn-default btn-xs pull-right" data-bind="click: onClear, fadeVisible: !isMulti && rawAnswer()">
{% trans "Clear" %}
</button>
</div>
Expand Down

0 comments on commit a67d3f6

Please sign in to comment.