Fix/validates length of min max length

https://www.openproject.org/work_packages/14632
instead of doing the `find`, you can get the min_length column like this:
`CustomField.columns_hash['min_length']`