-
Notifications
You must be signed in to change notification settings - Fork 11
ElementTabsRelations doesn't work on my nova 1.0.12 #7
Comments
Hello, I'll check this soon. I think it's broken in the new version of Nova |
Does not work for me either. I was excited to see this feature set. |
+1, thanks for you time |
This is a problem. Nova tries to get a related field using the public function availableFields(NovaRequest $request)
{
$fields = $this->fields($request);
$tabsRelationsField = collect($fields)
->first(function($field){
return get_class($field) == ElementTabsRelations::class;
});
$relatedFields = collect($tabsRelationsField->tabs)
->map(function($tab){
return $tab['field']->hideFromDetail();
})->toArray();
return new FieldCollection(
array_values(
$this->filter(array_merge($fields, $relatedFields))
)
);
} |
@fat4lix thanks for all ! I try this solution, but is not working for me :( No errors, just show relations like normal mode. |
@cloudstudio Can you show me your |
Hello, I tried your solution too, but still doesn't work for me. First I had this error: Then I add Her is my fields function:
|
@fat4lix i remove it, but is something like @DonDiegoAA |
@fat4lix - any progress on this? The problem persists with Nova 1.0.16. The work around to override availableFields() doesn't solve the problem. |
Can confirm, this isn't working in Nova v1.1.3. |
@fat4lix - I don't want to be presumptuous, but should we consider this an abandoned project? If you are just swamped with other things, a quick note saying something to that effect would go a long way. I appreciate the effort that you've put into the package, and I'm not trying to be rude. ElementTabsRelations is the primary reason I started using Element UI, and I don't have the time to fork and fix it on my own. -Sam |
@vootrunner -- hopefully this project isn't dead... but you might want to check out this alternative for tabs: https://github.com/arsenaltech/nova-tab |
So this is rendering the vue directives correctly but nothing is being rendered as a tab - just outputs as normal. When inspecting the code I am seeing the proper but those components do not render as expected |
Any fixes guys? |
Still not working in 1.1.7 |
any update for this guys. |
it looks like this project abandoned |
=( |
I followed the instructions, but the presentation does not change with ElementTabsRelations, no tabs.
The text was updated successfully, but these errors were encountered: