mirror of
https://github.com/maputnik/editor.git
synced 2025-12-10 08:10:01 +00:00
Moved data-wd-key onto element
This commit is contained in:
@@ -12,10 +12,9 @@ class MaxZoomBlock extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <InputBlock label={"Max Zoom"} doc={latest.layer.maxzoom.doc}
|
||||
data-wd-key="max-zoom"
|
||||
>
|
||||
return <InputBlock label={"Max Zoom"} doc={latest.layer.maxzoom.doc}>
|
||||
<NumberInput
|
||||
wdKey="max-zoom"
|
||||
allowRange={true}
|
||||
value={this.props.value}
|
||||
onChange={this.props.onChange}
|
||||
|
||||
Reference in New Issue
Block a user