diff options
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/admin_console/text_setting.jsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webapp/components/admin_console/text_setting.jsx b/webapp/components/admin_console/text_setting.jsx index 879e352a4..5830828d2 100644 --- a/webapp/components/admin_console/text_setting.jsx +++ b/webapp/components/admin_console/text_setting.jsx @@ -6,7 +6,6 @@ import PropTypes from 'prop-types'; import React from 'react'; import Setting from './setting.jsx'; -import Constants from 'utils/constants.jsx'; export default class TextSetting extends React.Component { static get propTypes() { @@ -32,7 +31,7 @@ export default class TextSetting extends React.Component { static get defaultProps() { return { type: 'input', - maxLength: Constants.MAX_TEXTSETTING_LENGTH + maxLength: null }; } @@ -67,9 +66,9 @@ export default class TextSetting extends React.Component { id={this.props.id} className='form-control' rows='5' - maxLength='1024' placeholder={this.props.placeholder} value={this.props.value} + maxLength={this.props.maxLength} onChange={this.handleChange} disabled={this.props.disabled} /> |