Update survey to use React/TS (#19728)
* Update survey to use React/TS * Working survey form in react land * A little cleanup * Update Search.tsx * Update Survey.tsx * Remove token field from schema entirely, just let it fail validation * Update events.js * Update survey.html * use Link component * Use enum for state * Update old to match new
This commit is contained in:
@@ -272,11 +272,6 @@ const surveySchema = {
|
||||
type: 'string',
|
||||
pattern: '^survey$'
|
||||
},
|
||||
token: {
|
||||
type: 'string',
|
||||
description: 'A honeypot.',
|
||||
maxLength: 0
|
||||
},
|
||||
survey_vote: {
|
||||
type: 'boolean',
|
||||
description: 'Whether the user found the page helpful.'
|
||||
|
||||
Reference in New Issue
Block a user