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.
No description
5 Replies
toeknee
toeknee11mo ago
Try putting required before minItems
appenjel
appenjelOP11mo ago
The items are still removing.
toeknee
toeknee11mo ago
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
appenjel
appenjelOP11mo ago
I got it. I use this action submission button.
No description
appenjel
appenjelOP11mo ago
By using this action submission button, the form is submitted. Should I have to use submit button instead of Action submit?
Want results from more Discord servers?
Add your server