Added proper form validation for description field.

This commit is contained in:
wildscotsmen 2018-09-21 17:19:56 -04:00
parent c22bcae00d
commit 2a402407ae
1 changed files with 3 additions and 3 deletions

View File

@ -125,8 +125,8 @@ class ReportForm extends React.Component {
state = { state = {
date: formatDate(new Date()), date: formatDate(new Date()),
time: '00:00', time: '00:00',
type: '', type: 'visual',
confidence: '' confidence: '1'
}; };
/** /**
@ -149,7 +149,7 @@ class ReportForm extends React.Component {
* The actual form. * The actual form.
*/ */
return ( return (
<form className={classes.container} noValidate autoComplete="off" method='GET'> <form className={classes.container} autoComplete="off" method='GET'>
<Grid container spacing={8}> <Grid container spacing={8}>
<Grid item xs={5} xl={2}> <Grid item xs={5} xl={2}>
<TextField <TextField