mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 15:40:00 +00:00
Fix non existing value warning
This commit is contained in:
@@ -70,6 +70,7 @@ export default class SpecField extends React.Component {
|
||||
if(options.length <= 3 && optionsLabelLength(options) <= 20) {
|
||||
return <MultiButtonInput
|
||||
{...commonProps}
|
||||
value={this.props.value || this.props.fieldSpec.default}
|
||||
options={options}
|
||||
/>
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user