mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 18:41:16 +01:00
Removed left over conflict markers and set default.
This commit is contained in:
parent
ea3b9a20c5
commit
dddd604f7b
1 changed files with 1 additions and 2 deletions
|
@ -113,7 +113,6 @@ class NumberInput extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
<<<<<<< HEAD
|
|
||||||
if(
|
if(
|
||||||
this.props.hasOwnProperty("min") && this.props.hasOwnProperty("max") &&
|
this.props.hasOwnProperty("min") && this.props.hasOwnProperty("max") &&
|
||||||
this.props.min !== undefined && this.props.max !== undefined &&
|
this.props.min !== undefined && this.props.max !== undefined &&
|
||||||
|
@ -149,7 +148,7 @@ class NumberInput extends React.Component {
|
||||||
spellCheck="false"
|
spellCheck="false"
|
||||||
className="maputnik-number"
|
className="maputnik-number"
|
||||||
placeholder={this.props.default}
|
placeholder={this.props.default}
|
||||||
value={this.state.dirtyValue}
|
value={this.state.dirtyValue === undefined ? "" : this.state.dirtyValue}
|
||||||
onChange={e => {
|
onChange={e => {
|
||||||
this.changeValue(e.target.value)
|
this.changeValue(e.target.value)
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue