Skip to content

address field type #16

@bbmatt

Description

@bbmatt

I've noticed with the address field type, if the values are empty, the array keys are still added IF the field type is set to repeatable in the metabox.

This becomes problematical when checking to see if an array is empty or not.
If I'm looping through a repeatable cmb2 metabox that's using an address field for each entry for instance.

Shouldn't the array keys be unset if there's no value in them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions