From fee02da251984e843dbc85b3f0bcd3cf7802f04f Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Fri, 6 Dec 2019 06:24:50 -0800 Subject: [PATCH] Add disableSuggetions to URLInput (#18946) In #18905 Social Links was switched from a generic input field to using URLInput, this change adds disableSuggetions to prevent the field to suggest internal links or pages since Social Links are typically an external link. --- packages/block-library/src/social-link/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/social-link/edit.js b/packages/block-library/src/social-link/edit.js index ea2a1d7c3716f8..8a7739e59330c7 100644 --- a/packages/block-library/src/social-link/edit.js +++ b/packages/block-library/src/social-link/edit.js @@ -51,6 +51,7 @@ const SocialLinkEdit = ( { attributes, setAttributes, isSelected } ) => { value={ url } onChange={ ( nextURL ) => setAttributes( { url: nextURL } ) } placeholder={ __( 'Enter Address' ) } + disableSuggestions={ true } />