Skip to content

Commit

Permalink
Merge branch 'release/7.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 22, 2024
2 parents 99fbc44 + ac84a0b commit 3d9a79d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v7.4.1
## 10/22/2024

1. [](#improved)
* `honeypot` field tweaks

# v7.4.0
## 03/29/2024

Expand Down
2 changes: 1 addition & 1 deletion assets/form-styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/form-styles.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Form
slug: form
type: plugin
version: 7.4.0
version: 7.4.1
description: Enables forms handling and processing
icon: check-square
author:
Expand Down
4 changes: 2 additions & 2 deletions scss/form-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ $form-active-color: #000;
}

.form-honeybear {
visibility: hidden;
display: none;
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
clip-path: rect(0px, 1px, 1px, 0px);
}

.form-errors p {
Expand Down
2 changes: 2 additions & 0 deletions templates/forms/fields/honeypot/honeypot.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
style="visibility:hidden;position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);"
{% endif %}
class="form-honeybear"
tabindex="-1"
autocomplete="off"
name="{{ (scope ~ field.name)|fieldName }}"
value="{{ input_value|e }}" />
{% endblock %}

0 comments on commit 3d9a79d

Please sign in to comment.