From e7f2f658ce3d617210fa0fc0014e3fffa532b453 Mon Sep 17 00:00:00 2001 From: mama Date: Thu, 18 Jan 2018 19:05:41 +0100 Subject: [PATCH] =?UTF-8?q?Le=20bouton=20valider=20dans=20les=20questions?= =?UTF-8?q?=20=C3=A0=20choix=20peut=20=C3=AAtre=20d=C3=A9sactiv=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/conversation/Question.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/source/components/conversation/Question.js b/source/components/conversation/Question.js index 207e9b0d4..d3e18b021 100644 --- a/source/components/conversation/Question.js +++ b/source/components/conversation/Question.js @@ -27,19 +27,23 @@ import SendButton from './SendButton' export default class Question extends Component { render() { let { - stepProps: { choices }, + stepProps: { choices, submit }, themeColours, - stepProps: { submit } + meta: { pristine } } = this.props let choiceElements = is(Array)(choices) ? this.renderBinaryQuestion() : this.renderChildren(choices) - return ( <> {choiceElements} )