Skip to content

Commit 7a2d0ae

Browse files
committed
DOC-3223: Pressing enter while focused on title input during category or template creation would submit even when the submit button was disabled.
1 parent 823843b commit 7a2d0ae

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

modules/ROOT/pages/8.2.0-release-notes.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,19 @@ The following premium plugin updates were released alongside {productname} 8.2.0
4242

4343
// For information on the **<Premium plugin name 1>** plugin, see: xref:<plugincode>.adoc[<Premium plugin name 1>].
4444

45+
=== **Templates**
46+
47+
The {productname} {release-version} release includes an accompanying release of the **Templates** premium plugin.
48+
49+
**Templates** includes the following fix.
50+
51+
==== Pressing enter while focused on title input during category or template creation would submit even when the submit button was disabled
52+
// #TINY-12730
53+
54+
Previously, pressing **Enter** while focused on the title input during category or template creation would trigger form submission, even when the submit button was disabled. This occurred because the input handling logic did not validate the form state before submission. As a result, users could inadvertently attempt to create a category or template with an empty name, causing an error.
55+
56+
{productname} {release-version} addresses this issue by updating the input handling logic to check the form's validity before allowing submission when **Enter** is pressed. Now, if the form is invalid or the submit button is disabled, pressing **Enter** will not trigger submission, preventing erroneous attempts to create categories or templates with empty names.
57+
4558

4659
[[accompanying-enhanced-skins-and-icon-packs-changes]]
4760
== Accompanying Enhanced Skins & Icon Packs changes

0 commit comments

Comments
 (0)