Changes the max number of characters for a channel title/handle to 22

Этот коммит содержится в:
Reed Garmsen
2015-08-24 10:18:56 -07:00
родитель 3e73ff25d3
Коммит d34d52a924

Просмотреть файл

@@ -127,12 +127,12 @@ module.exports = React.createClass({
<div className='modal-body'> <div className='modal-body'>
<div className={displayNameClass}> <div className={displayNameClass}>
<label className='control-label'>Display Name</label> <label className='control-label'>Display Name</label>
<input onKeyUp={this.displayNameKeyUp} type='text' ref='display_name' className='form-control' placeholder='Enter display name' maxLength='64' /> <input onKeyUp={this.displayNameKeyUp} type='text' ref='display_name' className='form-control' placeholder='Enter display name' maxLength='22' />
{displayNameError} {displayNameError}
</div> </div>
<div className={nameClass}> <div className={nameClass}>
<label className='control-label'>Handle</label> <label className='control-label'>Handle</label>
<input type='text' className='form-control' ref='channel_name' placeholder="lowercase alphanumeric's only" maxLength='64' /> <input type='text' className='form-control' ref='channel_name' placeholder="lowercase alphanumeric's only" maxLength='22' />
{nameError} {nameError}
</div> </div>
<div className='form-group'> <div className='form-group'>