F
Filament9mo ago
Jap

Import action download example button missing (BUG)

After i added modalDescription with
new HtmlString()
new HtmlString()
download example csv is now missing in the modal.
ImportAction::make()
->label('Import')
->importer(Importer::class)
->modalDescription(
new HtmlString(
'<ol class="list-decimal text-sm dark:text-white">
<li>....</li>
</ol>'
)
)
ImportAction::make()
->label('Import')
->importer(Importer::class)
->modalDescription(
new HtmlString(
'<ol class="list-decimal text-sm dark:text-white">
<li>....</li>
</ol>'
)
)
5 Replies
Jap
JapOP9mo ago
Bump
Dennis Koch
Dennis Koch9mo ago
download example csv is now missing in the modal
I haven't used this yet, but it is probably using modalDescription which you overwrite?
Jap
JapOP9mo ago
Probably that’s what’s happening is there a work around for this? I want to add a description above it.
Dennis Koch
Dennis Koch9mo ago
Merge the default code with your own? I think there is also subheading for modals
Jap
JapOP9mo ago
I just tried using ->modalSubHeading() it still overwrites the download button
Want results from more Discord servers?
Add your server