From 62ff4a5bb227e462a333e0e25a9fd61708556a8b Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Mon, 3 Feb 2020 18:43:12 -0500 Subject: [PATCH] Block Editor: LinkControl: Remove `disabled` from submit button Instead inherit that the form cannot be submitted since the rendered URLInput will apply a `required` attribute, preventing submission of the form, while still displaying the associated help text "You must fill out this field" --- .../block-editor/src/components/link-control/search-input.js | 1 - .../components/link-control/test/__snapshots__/index.js.snap | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/link-control/search-input.js b/packages/block-editor/src/components/link-control/search-input.js index 695cdae717bef9..44da93ab9f2ea7 100644 --- a/packages/block-editor/src/components/link-control/search-input.js +++ b/packages/block-editor/src/components/link-control/search-input.js @@ -74,7 +74,6 @@ const LinkControlSearchInput = ( { />
"`; +exports[`Basic rendering should render 1`] = `""`;