-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Challenge Statement summary field to Submit Challenge modal #267
Conversation
<CopyLarge>Enter a summary of the reasons for your challenge (Max 120 characters)</CopyLarge> | ||
<SectionFormOuter> | ||
<FormInputGroup> | ||
<RichTextEditor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the summary should be plaintext, not richtext, imo
@@ -196,4 +257,28 @@ export class SubmitChallengeModal extends React.Component< | |||
</StepStyledFluid> | |||
); | |||
}; | |||
|
|||
private handleBeforeInput = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these functions should go on a TextInput component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's keep summary as plaintext, not rich
Pull Request Test Coverage Report for Build 5335
💛 - Coveralls |
- Add `maxLength` prop to `TextareaInputProps`
Sure, that's actually much simpler. |
- Restore Transaction button to Submit Challenge modal - Fix typing of `summaryValue`
No description provided.