diff --git a/packages/js/product-editor/changelog/add-37930 b/packages/js/product-editor/changelog/add-37930 new file mode 100644 index 00000000000..d30c812d598 --- /dev/null +++ b/packages/js/product-editor/changelog/add-37930 @@ -0,0 +1,4 @@ +Significance: minor +Type: add + +Remove AUTO-DRAFT in product name field on create new product page #37930 diff --git a/packages/js/product-editor/src/blocks/name/edit.tsx b/packages/js/product-editor/src/blocks/name/edit.tsx index 75cb5e52b57..d1c257c6b22 100644 --- a/packages/js/product-editor/src/blocks/name/edit.tsx +++ b/packages/js/product-editor/src/blocks/name/edit.tsx @@ -159,7 +159,7 @@ export function Edit() { 'woocommerce' ) } onChange={ setName } - value={ name || '' } + value={ name && name !== AUTO_DRAFT_NAME ? name : '' } onBlur={ setSkuIfEmpty } />