How to Display Data in Database to a Repeater - Custom Filament Page

I need to display repeater items data from the database on page load, with the add button, delete button, and reorderableWithDragAndDrop buttons hidden. Currently, the intended data displays only after clicking the add button, but I need the data to be displayed on page load.
Solution:
Use$this->form->fill(['your_field' => $yourData]) in the mount method
Jump to solution
2 Replies
Solution
LeandroFerreira
LeandroFerreira7mo ago
Use$this->form->fill(['your_field' => $yourData]) in the mount method
Subhrajita
SubhrajitaOP7mo ago
yes, this works. Thank you @Leandro Ferreira
Want results from more Discord servers?
Add your server