Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick fix details screen issue when using belongs to relation. e,g 'role.id' #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haider00125
Copy link

@haider00125 haider00125 commented Jan 11, 2022

Consider the following code:

BelongsTo::make('Group', 'group', Group::class),
NovaDependencyContainer::make([ Boolean::make('Enable', 'enable'), ])->dependsOn('group.id', [5, 10, 15]),

This code works fin on Form. But won't work fine on details screen. The "Enable" boolean field is not showing on details screen.

This PR add a quick fix for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant