add max chars limit to feedback text
This commit is contained in:
@@ -51,7 +51,8 @@ export const Disconnected: FCWithChildren<{
|
||||
|
||||
{showFeedbackNote ? (
|
||||
<Alert variant="outlined" icon={false} onClose={() => setShowFeedbackNote(false)}>
|
||||
Help improve NymConnect{' '}
|
||||
Help improve NymConnect
|
||||
<br />
|
||||
<Link to="/menu/reporting/user-feedback" component={RouterLink} color="secondary" underline="hover">
|
||||
Send feedback
|
||||
</Link>
|
||||
|
||||
@@ -14,7 +14,7 @@ type FormValues = {
|
||||
|
||||
const schema = object({
|
||||
email: string().email(),
|
||||
feedback: string().required().min(20),
|
||||
feedback: string().required().min(20).max(512),
|
||||
}).required();
|
||||
|
||||
export const UserFeedback = () => {
|
||||
|
||||
Reference in New Issue
Block a user