-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
I'm experiencing an issue where translatable fields in Nova disappear when I change languages using the LocaleSelect field.
Environment:
Laravel Nova: 5.1.2
outl1ne/nova-translatable: 3.0.2
Nova Resource:
public function fields(NovaRequest $request): array
{
$fields = [
ID::make()->sortable(),
LocaleSelect::make(),
Text::make('Page Title', 'title')
->sortable()
->rules('required', 'max:255')
->translatable(),
Slug::make('Slug', 'slug')
->from('Page Title')
->rules('required')
->hideFromIndex(),
Select::make('Type', 'type')
->options([
'homepage' => 'Homepage',
'about_us' => 'About Us',
])
->rules('required')
->displayUsingLabels()
->hideFromIndex(),
];
return $fields;
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working