Adding navigation inside cluster to CreateRecord page

I want to add navigation (as is in ListRecords page) to CreateRecord page, is it possible?
Solution:
add this in the CreatePage ```php public function getSubNavigation(): array {...
Jump to solution
2 Replies
Solution
LeandroFerreira
add this in the CreatePage
public function getSubNavigation(): array
{
if (filled($cluster = static::getCluster())) {
return $this->generateNavigationItems($cluster::getClusteredComponents());
}

return [];
}
public function getSubNavigation(): array
{
if (filled($cluster = static::getCluster())) {
return $this->generateNavigationItems($cluster::getClusteredComponents());
}

return [];
}
Groli
Groli4w ago
thanks
Want results from more Discord servers?
Add your server
More Posts