Handle on change in field

This commit is contained in:
lukasmartinelli
2016-09-12 20:29:53 +02:00
parent 7c7c8b7111
commit ae0a12dcd8
5 changed files with 25 additions and 8 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ class SpecField extends React.Component {
]).isRequired,
}
onValueChanged(property, e) {
return this.props.onChange(property, e.target.value)
onValueChanged(property, value) {
return this.props.onChange(property, value)
}
render() {