mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 15:40:00 +00:00
Remove default from data properties
It looks like default is not supported in this version of the style spec, so pending the PR to update it I'm removing it as an input.
This commit is contained in:
@@ -190,20 +190,6 @@ export default class ZoomSpecProperty extends React.Component {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="maputnik-data-spec-property-group">
|
||||
<DocLabel
|
||||
label="Default"
|
||||
doc={"Input a default value for data if not covered by the scales."}
|
||||
/>
|
||||
<div className="maputnik-data-spec-property-input">
|
||||
<SpecField
|
||||
fieldName={this.props.fieldName}
|
||||
fieldSpec={this.props.fieldSpec}
|
||||
value={this.props.value.default}
|
||||
onChange={(_, newValue) => this.changeStop(idx, { zoom: zoomLevel, value: dataLevel }, newValue)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</InputBlock>
|
||||
</div>
|
||||
{dataFields}
|
||||
|
||||
Reference in New Issue
Block a user