diff --git a/src/components/SignupQuestionsWidget/OptionsWidget.tsx b/src/components/SignupQuestionsWidget/OptionsWidget.tsx index e73f75b..1fd7b83 100644 --- a/src/components/SignupQuestionsWidget/OptionsWidget.tsx +++ b/src/components/SignupQuestionsWidget/OptionsWidget.tsx @@ -44,7 +44,7 @@ class OptionsWidget extends React.Component { let obj: any; - if (question.type === "text") { + if (question.type === "text" || question.type === "name") { obj = { type: "string", title: question.name, @@ -104,7 +104,7 @@ const questionToUISchemaProp = (question: Question): {} => { } const questionToValidationSchema = (question: Question) => { - if (question.type === "text") { + if (question.type === "text" || question.type === "name") { return { type: "string", };