User Picker Implementation

This commit is contained in:
yanas
2017-06-14 13:41:22 -05:00
committed by virtuacoplenny
parent 47b6166d79
commit f5d443d194
27 changed files with 1058 additions and 226 deletions

View File

@@ -217,9 +217,9 @@ class StatelessDialog extends Component {
return (
<header>
<h2>
<h3>
{ this.props.titleString || t(this.props.titleKey) }
</h2>
</h3>
</header>
);
}
@@ -275,6 +275,9 @@ class StatelessDialog extends Component {
}
if (event.key === 'Enter') {
event.preventDefault();
event.stopPropagation();
if (this.props.submitDisabled && !this.props.cancelDisabled) {
this._onCancel();
} else if (!this.props.okDisabled) {