Custom Form Repeater minItems is not working.
Hi,
I am building a custom invoice software with filament.
I have tried to use the repeater minItems but it is not working.
5 Replies
Try putting required before minItems
The items are still removing.
That's normal, but you shouldn't be able to submit the form without them.
If you always want to retain one row, just set an empty row with afterstate updated method, if counting of items = 0
I got it.
I use this action submission button.
By using this action submission button, the form is submitted.
Should I have to use submit button instead of Action submit?