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

Do not ignore resolve callbacks when displaying #83

Merged
merged 1 commit into from
Oct 8, 2022
Merged

Do not ignore resolve callbacks when displaying #83

merged 1 commit into from
Oct 8, 2022

Conversation

Woeler
Copy link
Contributor

@Woeler Woeler commented Sep 30, 2022

Currently the display of the field value ignores previously set resolve callbacks in Nova. This can lead to the package not playing nice with other packages that manipulate fields, like Spatie's Laravel Translatable.

This patch solved that issue by checking for resolve callbacks before deciding the field's display value.

@roelofr
Copy link
Collaborator

roelofr commented Oct 8, 2022

Hey Woeler,

Thank you for contributing to the project. Good catch, maybe it'll help making spatie translatable work better with this project.

@roelofr roelofr merged commit ac022e0 into advoor:master Oct 8, 2022
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.

2 participants