Skip to content

getFilamentAttributeNameAndLocale Returns an array incorrectly #29

@GrigoriyChernish

Description

@GrigoriyChernish
 protected function getFilamentAttributeNameAndLocale($attribute)
    {
        $attribute = str_replace('data.', '', $attribute);
	@list($locale, $name) = @explode('.', $attribute);
        return [$name, $locale];
    }

Need to switch places

@list($name, $locale) = @explode('.', $attribute);

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