Skip to content

save className of multiple SelectControl values #5

@robertosimoes

Description

@robertosimoes

Thank you very much for this example plugin, it's helping me learn Gutenberg.

Your example of multiple SelectControl: https://github.com/liip/extend-block-example-wp-plugin/blob/feat/additional-attribute-logic/assets/js/spacing-control.js

I noticed that only the last attribute .has-spacing-bottom-$ is saved. The .has-spacing-top-$ is ignored.

I'm trying to fix it without success. Could you give me at least a hint on how to solve this issue?

Thanks and Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions