Added style_renderer to field-spec-additional

This commit is contained in:
orangemug 2020-01-30 08:54:08 +00:00
parent 223721a65d
commit a8cbe19f09
2 changed files with 8 additions and 1 deletions

View file

@ -244,7 +244,10 @@ class SettingsModal extends React.Component {
/> />
</InputBlock> </InputBlock>
<InputBlock label={"Style Renderer"} fieldSpec={{doc: "Choose the default Maputnik renderer for this style."}}> <InputBlock
label={fieldSpecAdditional.maputnik.style_renderer.label}
fieldSpec={fieldSpecAdditional.maputnik.style_renderer}
>
<SelectInput {...inputProps} <SelectInput {...inputProps}
data-wd-key="modal-settings.maputnik:renderer" data-wd-key="modal-settings.maputnik:renderer"
options={[ options={[

View file

@ -12,6 +12,10 @@ const spec = {
label: "Thunderforest Access Token", label: "Thunderforest Access Token",
doc: "Public access token for Thunderforest services." doc: "Public access token for Thunderforest services."
}, },
style_renderer: {
label: "Style Renderer",
doc: "Choose the default Maputnik renderer for this style.",
},
} }
} }