F
Filament7mo 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
Jap7mo ago
Bump
Dennis Koch
Dennis Koch7mo 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
Jap7mo 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 Koch7mo ago
Merge the default code with your own? I think there is also subheading for modals
Jap
Jap7mo ago
I just tried using ->modalSubHeading() it still overwrites the download button
Want results from more Discord servers?
Add your server