diff --git a/packages/js/product-editor/changelog/fix-disable-autocomplete-product-name b/packages/js/product-editor/changelog/fix-disable-autocomplete-product-name new file mode 100644 index 00000000000..6ee1017c7e3 --- /dev/null +++ b/packages/js/product-editor/changelog/fix-disable-autocomplete-product-name @@ -0,0 +1,4 @@ +Significance: patch +Type: tweak + +Disable autocomplete for the product name field. diff --git a/packages/js/product-editor/src/blocks/name/edit.tsx b/packages/js/product-editor/src/blocks/name/edit.tsx index af411719065..6a02fff1199 100644 --- a/packages/js/product-editor/src/blocks/name/edit.tsx +++ b/packages/js/product-editor/src/blocks/name/edit.tsx @@ -170,6 +170,8 @@ export function Edit( { attributes }: BlockEditProps< NameBlockAttributes > ) { ) } onChange={ setName } value={ name && name !== AUTO_DRAFT_NAME ? name : '' } + autoComplete="off" + data-1p-ignore onBlur={ () => { setSkuIfEmpty(); validateName();