mirror of
https://github.com/maputnik/editor.git
synced 2025-12-29 01:20:01 +00:00
Use min and max from spec in number field
This commit is contained in:
@@ -49,8 +49,8 @@ export default class SpecField extends React.Component {
|
||||
<NumberField
|
||||
{...commonProps}
|
||||
default={this.props.fieldSpec.default}
|
||||
min={this.props.fieldSpec.min}
|
||||
max={this.props.fieldSpec.max}
|
||||
min={this.props.fieldSpec.minimum}
|
||||
max={this.props.fieldSpec.maximum}
|
||||
unit={this.props.fieldSpec.unit}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user