From 32a759eca5ee16cea0b33d16f0e7703ab72d39c6 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Thu, 19 Apr 2018 14:33:08 +0100 Subject: [PATCH] Fix Lists edit form [MAILPOET-1348] --- assets/js/src/form/fields/textarea.jsx | 28 ++++++++++++++++++-------- assets/js/src/segments/form.jsx | 9 ++++++++- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/assets/js/src/form/fields/textarea.jsx b/assets/js/src/form/fields/textarea.jsx index a04b0cce84..2681daf0a2 100644 --- a/assets/js/src/form/fields/textarea.jsx +++ b/assets/js/src/form/fields/textarea.jsx @@ -1,17 +1,29 @@ import React from 'react'; +import PropTypes from 'prop-types'; -const FormFieldTextarea = () => ( +const FormFieldTextarea = props => (