mirror of
https://github.com/maputnik/editor.git
synced 2026-08-02 19:27:25 +00:00
Fixed more input accessibility issues, also
- Added searchParams based router for easier testing - Added more stories to the storybook
This commit is contained in:
@@ -37,13 +37,12 @@ export default class SpecProperty extends React.Component {
|
||||
|
||||
const error = errors[fieldType+"."+fieldName];
|
||||
|
||||
return <Block
|
||||
return <SpecField
|
||||
{...this.props}
|
||||
error={error}
|
||||
fieldSpec={this.props.fieldSpec}
|
||||
label={labelFromFieldName(this.props.fieldName)}
|
||||
action={functionBtn}
|
||||
>
|
||||
<SpecField {...this.props} />
|
||||
</Block>
|
||||
/>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user