'How to add some custom html below the field?
I'm using Laravel nova also the ClassicO\NovaMediaLibrary\MediaLibrary (https://github.com/classic-o/nova-media-library) and the help() method to show a message below the field don't appear on the page when MediaLibrary is used.
It seems that is not supported, so do you know if it's possible to add some custom html with a span for example to show a message below the field instead of using the help() method?
With Laravel Nova I can use the help method like this:
Select::make('Option')
->options(
Post::active()
)->help(
'Please select a option'
)
However using the same help() method and also the MediaLibrary like this:
MediaLibrary::make('Image')
->help('Only png.')
->types(['Image']),
The help message don't appear on the page. So do you know how to add some custom html below the field? Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
