[LiveComponent] [LiveCollectionType] Allow min and max options
Hello, concerning the LiveCollectionType, I wonder if these options could be interesting:
"min" => Initializes the collection with N elements and does not display a delete button until the minimum number of elements is present
"max" => Does exactly the opposite. Will no longer display the add element button if the maximum number of desired elements is reached.
It seems to me that a very old bundle for collections had these kinds of options:
https://symfony-collection.fuz.org/symfony3/options/numberCollectionElements
Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?
Friendly ping? Should this still be open? I will close if I don't hear anything.
Yes it should
Would you like to work on this feature ?
Thank you for this issue. There has not been a lot of activity here for a while. Has this been resolved?
Could I get an answer? If I do not hear anything I will assume this issue is resolved or abandoned. Please get back to me <3
No responses since many many monthes, let's close and re-open if needed.
Although this is achievable with a few lines of custom code in form logic and in the the twig template, having this setting would be really useful.