From b7e414a04250574cefc44e83d66bd135cc2ce4b4 Mon Sep 17 00:00:00 2001 From: orangemug Date: Thu, 14 May 2020 12:13:47 +0100 Subject: [PATCH] Fix URL entry to use form submission and improved errors if protocol isn't present. --- src/components/Button.jsx | 1 + src/components/inputs/UrlInput.jsx | 29 ++++++++++++++++++++-- src/components/modals/OpenModal.jsx | 38 ++++++++++++++++------------- 3 files changed, 49 insertions(+), 19 deletions(-) diff --git a/src/components/Button.jsx b/src/components/Button.jsx index 4c2105f3..e7289c71 100644 --- a/src/components/Button.jsx +++ b/src/components/Button.jsx @@ -15,6 +15,7 @@ class Button extends React.Component { render() { return - +
+ +
+ +
+