nova-external-image
nova-external-image copied to clipboard
Displaying the url return a string with the message null at the end
It seems there is a bug when I am trying to display the URL of an image. I followed all the steps as the documentations dictates, but the URL of the image returns null at the end.
example:
https://example.com/null
I digged in, and I solved by adding an empty string in the method default() extended from Laravel\Nova\Fields as the following code:
ExternalImage::make('example')->prefix('https://example.com/')->default('')