Skip to content

Commit

Permalink
Merge pull request #2942 from owid/feedback-form-make-email-optional
Browse files Browse the repository at this point in the history
🔨 make email optional in feedback form
  • Loading branch information
danyx23 authored Nov 24, 2023
2 parents 06986c0 + af744ad commit 518bdbd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion site/Feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,14 @@ export class FeedbackForm extends React.Component<{
id="feedback.email"
onChange={this.onEmail}
type="email"
required
disabled={loading}
/>
<small className="form-text text-muted">
Your name and email will only be used to reply to
you and not for any other purpose. If you do not
give a valid email, we will not be able to reply to
you.
</small>
</div>
{this.error ? (
<div style={{ color: "red" }}>{this.error}</div>
Expand Down

0 comments on commit 518bdbd

Please sign in to comment.