mirror of
https://github.com/maputnik/editor.git
synced 2025-12-28 09:00:02 +00:00
Set prop value for empty string
This commit is contained in:
@@ -22,7 +22,7 @@ render() {
|
||||
style={inputStyle.input}
|
||||
name={this.props.name}
|
||||
placeholder={this.props.default}
|
||||
value={this.props.value}
|
||||
value={this.props.value ? this.props.value : ""}
|
||||
onChange={this.onChange.bind(this)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user