mirror of
https://github.com/maputnik/editor.git
synced 2026-08-31 17:37:25 +00:00
Handle on change in field
This commit is contained in:
+2
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user