Skip to content

Creating or editting a Linkit field with entry fills selection label with array of chosen sections  #105

Open
@jripmeester

Description

@jripmeester

Craft CMS version: 3.4.26
Linkit version: 1.1.11

When i edit or create a new linkit field, on save, the selection label gets filled with an array string of the selected sections.
Which results in an error on the edit entry page:
Return value of fruitstudios\linkit\base\ElementLink::getSelectionLabel() must be of the type string, array returned

The array string is visible in the selection label field when editting the field.

Schermafbeelding 2020-07-03 om 12 28 28

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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