Default repeater items not working
Hello.
I have an action button on a table to send an email. It opens a form to write the subject and type receivers. I need to fill in two different receivers by default, but it is not working.
Please, any ideas of how to achieve this?
I have tried with Repeater:: and also with TableRepeater::
Tks.
Solution:Jump to solution
```php
->modalDescription('send email to factory')
->fillForm([
'emails' => [
['email' => '[email protected]'],...
2 Replies
Solution
It works, though it fills only emails but leaves blank subject and contents (which had a default value)
Anyway, I have put all default values in fillForm like this:
Thank you very much for your help, mate.