aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/util/ReportManager.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/util/ReportManager.tsx b/src/client/util/ReportManager.tsx
index 55c5ca87f..b36e7e063 100644
--- a/src/client/util/ReportManager.tsx
+++ b/src/client/util/ReportManager.tsx
@@ -140,7 +140,7 @@ export class ReportManager extends React.Component<{}> {
// if we're down here, then we're good to go. reset the fields.
this.setBugTitle('');
this.setBugDescription('');
- this.toGithub = false;
+ // this.toGithub = false;
this.setFileLinks([]);
this.setBugType('');
this.setBugPriority('');
@@ -176,10 +176,10 @@ export class ReportManager extends React.Component<{}> {
(<div className="settings-content">
<h3 style={{ 'textDecoration': 'underline'}}>Report an Issue</h3>
<label>Please leave a title for the bug.</label><br />
- <input type="text" placeholder='title' onChange={(e) => this.bugTitle = e.target.value} required/>
+ <input type="text" placeholder='title' onChange={(e) => this.setBugTitle(e.target.value)} required/>
<br />
<label>Please leave a description for the bug and how it can be recreated.</label>
- <textarea placeholder='description' onChange={(e) => this.bugDescription = e.target.value} required/>
+ <textarea placeholder='description' onChange={(e) => this.setBugDescription(e.target.value)} required/>
<br />
{/* {<label>Send to github issues? </label>
<input type="checkbox" onChange={(e) => this.toGithub = e.target.checked} />
@@ -187,14 +187,14 @@ export class ReportManager extends React.Component<{}> {
<label>Please label the issue</label>
<div className='flex-select'>
- <select name="bugType">
+ <select name="bugType" onChange={e => this.bugType = e.target.value}>
<option value="" disabled selected>Type</option>
<option value="bug">Bug</option>
<option value="cosmetic">Poor Design or Cosmetic</option>
<option value="documentation">Poor Documentation</option>
</select>
- <select name="bigPriority">
+ <select name="bigPriority" onChange={e => this.bugPriority = e.target.value}>
<option value="" disabled selected>Priority</option>
<option value="priority-low">Low</option>
<option value="priority-medium">Medium</option>
@@ -205,7 +205,7 @@ export class ReportManager extends React.Component<{}> {
<div>
<label>Upload media that shows the bug (optional)</label>
- <input type="file" name="file" multiple accept='audio/*, video/*' onChange={e => this.uploadFiles(e.target)}/>
+ <input type="file" name="file" multiple accept='audio/*, video/*, image/*' onChange={e => this.uploadFiles(e.target)}/>
</div>
<br />