You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe just use two condition instead of elseif and it worked for me. It sure needs more testing but maybe its just that easy.
My use case is to show some information and an Input field to add some notes.
I could use the "modalContent" method to add a blade view to show my information but it would be easier to just allow an infolist above the form.
I could make a pull request for these changes if this feature is wanted.
Maybe its possible and im missing something than an advice would be nice.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As it seems it would be kind of easy to add an infolist and form to an action with just a few lines of code.
filament/packages/actions/resources/views/components/modals.blade.php
Lines 47 to 51 in 459c215
Maybe just use two condition instead of elseif and it worked for me. It sure needs more testing but maybe its just that easy.
My use case is to show some information and an Input field to add some notes.
I could use the "modalContent" method to add a blade view to show my information but it would be easier to just allow an infolist above the form.
I could make a pull request for these changes if this feature is wanted.
Maybe its possible and im missing something than an advice would be nice.
Beta Was this translation helpful? Give feedback.
All reactions