Fix: Remove string-only validation rules from multi-value field types
Multi-value fields (link, email, phone) store arrays in json_value. Rules like starts_with and url expect strings and cause TypeError when applied to array values.
Changes
- Remove
STARTS_WITHandURLfromLinkFieldTypeavailable validation rules - Add
CleanMultiValueValidationRulesStepupgrade step to clean existing database records with incompatible rules - Update test datasets to reflect corrected allowed rules
Upgrade
Run php artisan custom-fields:upgrade to clean up existing fields with incompatible validation rules.