Skip to content

Doesn't save translatable fields #10

@Lagolass

Description

@Lagolass

I use package outl1ne/nova-translatable for save multilangs data

Text::make( __('resource.meta_title'), 'meta_title')->translatable(),
Text::make( __('resource.meta_keywords'), 'meta_keywords')->translatable()

When saving data resource take error:

Undefined property: App\\Settings\\GeneralSettings::$meta_title.*

class of GeneralSettings

class GeneralSettings extends Settings
{
    public ?string $phone;
    public ?string $email;

    public array $meta_title;
    public array $meta_keywords;
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions