mirror of
https://github.com/maputnik/editor.git
synced 2025-12-10 00:00:02 +00:00
fix: Multi choice options style regression (#1174)
## Launch Checklist This PR fixes the silliness with the `maputnik-multibutton` requiring `maputnik-button` and `@extend` not working because not included in said file. Fixes https://github.com/maplibre/maputnik/issues/1044 | Before | After | |--------|--------| |  |  | This also fixes the same issue a few lines up where `maputnik-delete-filter` refers to an not imprted `@extend`. - [x] Write tests for all new functionality. - [x] Add an entry to `CHANGELOG.md` under the `## main` section.
This commit is contained in:
@@ -20,7 +20,7 @@ export default class InputMultiInput extends React.Component<InputMultiInputProp
|
||||
const radios = options.map(([val, label])=> {
|
||||
return <label
|
||||
key={val}
|
||||
className={classnames("maputnik-radio-as-button", {"maputnik-button-selected": val === selectedValue})}
|
||||
className={classnames("maputnik-button", "maputnik-radio-as-button", {"maputnik-button-selected": val === selectedValue})}
|
||||
>
|
||||
<input type="radio"
|
||||
name={this.props.name}
|
||||
|
||||
Reference in New Issue
Block a user