Skip to content

ArrayField button improvement #236

Open
@Ducica

Description

@Ducica

Latest version.

Arrayfield, should be passed also addButtonClassName prop by which you can override the hardcoded values

className={addButtonClassName ?? "align-self-end mt-15"}

addButtonClassName default value undefined.

As it is now, sometimes you can have a weird gap to the top that is impossible to override as it is basically inline style. Plus not having any specific classname to the add button, makes it hard to target specifically array field add buttons, without accidentally catching other buttons that you have in the app by this selector.

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