\n
\n
{question.text}
\n \n {this.renderInputForQuestion({\n name: question.name,\n type: \"text\",\n id: question.field,\n })}\n
\n );\n });\n };\n\n onCloseErrorBanner = () => {\n this.setState({ errorBannerOpen: false });\n };\n\n render() {\n const { leadForm } = this.props;\n const { errorBannerOpen, submit } = this.state;\n\n return (\n