From 2a402407ae2071f24e391adebe1a52800348802b Mon Sep 17 00:00:00 2001 From: wildscotsmen Date: Fri, 21 Sep 2018 17:19:56 -0400 Subject: [PATCH] Added proper form validation for description field. --- src/components/ReportForm.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ReportForm.js b/src/components/ReportForm.js index b380827..793928a 100644 --- a/src/components/ReportForm.js +++ b/src/components/ReportForm.js @@ -125,8 +125,8 @@ class ReportForm extends React.Component { state = { date: formatDate(new Date()), time: '00:00', - type: '', - confidence: '' + type: 'visual', + confidence: '1' }; /** @@ -149,7 +149,7 @@ class ReportForm extends React.Component { * The actual form. */ return ( -
+