How can I reset the max property of files to unlimited?

I have extended a field from a files field which has the max-property set to 10!
How can i reset that max-property to unlimited?
I have tried:

max: -
max: -1
max: false

Does not work for me ?!?
I can only increase the ammount of possible files.


Iā€™m not sure but could you try null please?

max: null

If it does not work, you can provide a solution by giving a higher number.

max: 100

Thanks! Works ā€¦
Should be mentioned in the documentation!