Commit b0f015527c for woocommerce
commit b0f015527cec3cb1d28cc617f2c6570846fc3c8b
Author: Ninos Ego <me@ninosego.de>
Date: Thu Feb 5 21:48:08 2026 +0100
Support Optional Variation/Attribute Editor Fields (#62590)
diff --git a/plugins/woocommerce/changelog/62590-meta-boxes-textarea b/plugins/woocommerce/changelog/62590-meta-boxes-textarea
new file mode 100644
index 0000000000..434fec9816
--- /dev/null
+++ b/plugins/woocommerce/changelog/62590-meta-boxes-textarea
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Don't disable submit button in meta boxes with empty textarea fields
\ No newline at end of file
diff --git a/plugins/woocommerce/client/legacy/js/admin/meta-boxes.js b/plugins/woocommerce/client/legacy/js/admin/meta-boxes.js
index 766249c4c3..244f5593c4 100644
--- a/plugins/woocommerce/client/legacy/js/admin/meta-boxes.js
+++ b/plugins/woocommerce/client/legacy/js/admin/meta-boxes.js
@@ -8,8 +8,9 @@ jQuery( function ( $ ) {
var has_empty_fields = false;
attributes_and_variations_data.each( function () {
var $this = $( this );
- // Check if the field is checkbox or a search field.
+ // Check if the field is optional, a checkbox or a search field.
if (
+ $this.hasClass( 'optional_attribute_or_variation_data' ) ||
$this.hasClass( 'checkbox' ) ||
$this.filter( '[class*=search__field]' ).length
) {