The first field of the 'Invite New Member' field can no longer be cleared or deleted

Этот коммит содержится в:
Reed Garmsen
2015-07-27 10:59:44 -07:00
родитель 42c5d0d366
Коммит d3580a983d

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

@@ -161,9 +161,11 @@ module.exports = React.createClass({
invite_sections[index] = (
<div key={"key" + index}>
{ index ?
<div>
<button type="button" className="btn btn-link remove__member" onClick={this.removeInviteFields.bind(this, index)}><span className="fa fa-trash"></span></button>
</div>
: "" }
<div className={ email_error ? "form-group invite has-error" : "form-group invite" }>
<input onKeyUp={this.displayNameKeyUp} type="text" ref={"email"+index} className="form-control" placeholder="email@domain.com" maxLength="64" />
{ email_error }