Re-add default field after style update

This commit is contained in:
pjsier 2017-10-05 05:50:47 -05:00
parent bba7aa3177
commit 2ffb3e73e1

View file

@ -190,6 +190,20 @@ 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={propVal => this.changeDataProperty("default", propVal)}
/>
</div>
</div>
</InputBlock>
</div>
{dataFields}