Disabling "Add value" button of the resource form

When I edit the item properties, I can add multiple values to any item properties. Generally it works well, but sometimes I want to make some properties have only a single value.

This could be implemented by extending the resource template class without changing the DB schema. Here some mock UI images.:

Add a new option ‘Single valued’ to resource template editor:
Screenshot%20from%202020-01-19%2012-28-53

Then we’ll get a simpler property form:

It would be able to implement as a module, but changing the code of omeka S would be easier. I need your comment.