Populate Simple View Modal in Panel
Please point me to the correct docs for this. I am trying to find for more than 30 mins. How to show my data in the view modal that opens when I click a row in the index of that resource. Filament is adding a lot of features and I cannot find the relevant article.
5 Replies
So your data will show in the model by filling out the form. That shows disabled fields when using ViewAction
Ok, thank you, I will have a look today
where is this mentioned in the docs btw, can you link please because i want to contribute this to docs if it does not exist since it is important to know
It’s here:
https://filamentphp.com/docs/3.x/panels/resources/viewing-records
By default, the View page will display a disabled form with the record's data.
thanks. i skipped create and edit since i didnt need those. so directly reading 'viewing' didnt have enough context
Ahh you skipped 😉 we can't anticipate it in every instance. You use case is pretty rare to do straight out of the box without understanding it.