Option Value admin form does not validate Integers correctly
In commit ce7ccb1e, the form rule was softened. However, if I create a new Option Group, with data_type = Integer
, the form rule will not catch any error.
Example:
- Go to: https://dmaster.demo.civicrm.org/civicrm/admin/options?gid=26&reset=1
- Edit "No-show" and set the value to "abc".
Since these are Int values in the database, weird things happen if we try saving an activity with this status.
cc @mattwire