advoor / nova-editor-js

Editor JS field for Laravel Nova
92 stars 54 forks source link

Do not ignore resolve callbacks when displaying #83

Closed Woeler closed 2 years ago

Woeler commented 2 years ago

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 commented 2 years ago

Hey Woeler,

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