1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 04:18:38 -04:00

Add validation of transactions in UI

This commit is contained in:
2015-08-29 09:50:16 -04:00
parent 6708edb00c
commit fcea2d380b
4 changed files with 96 additions and 5 deletions

View File

@ -31,6 +31,9 @@ const AccountCombobox = React.createClass({
},
render: function() {
var accounts = getAccountDisplayList(this.props.accounts, this.props.includeRoot, this.props.rootName);
var className = "";
if (this.props.className)
className = this.props.className;
return (
<Combobox
data={accounts}
@ -38,7 +41,8 @@ const AccountCombobox = React.createClass({
textField='Name'
value={this.props.value}
onSelect={this.handleAccountChange}
ref="account" />
ref="account"
className={className} />
);
}
});