How to prepopulate TextInput fields inside a Repeater in Laravel Filament V3
I have repeater that displays schedule timings for each day for a Batch. So each batch can have a BatchSchedule. I want to prepopulate the Days field as 'Sunday', 'Monday' ...... . However I am unable to achieve it. I tried using default() on the TextInput field but it cannot be dynamic. Here is my code for the repeater part:
Hello there! I have had the same kind of requirement and after weeks of searching i just found out that you can just use the default() method on the repeater and define the default items as an array.