- Issue created by @fhelms
I have had "drupal/required_api": "^2.1" and "drupal/required_by_role": "^1.3" installed in my project.
It worked beautifully.
I now upgraded both modules to "drupal/required_api": "^3.0" and "drupal/required_by_role": "^2.0" because they have been marked out-of-date. Unfortunately required_by_role is not working at all anymore. No matter what role I select in the field setup form - the field will be required for ALL user roles.
It seems that when I select "Required by role" in the "Choose a required strategy" section the "default required" field is selected automatically? Hard to tell. My problems persist.
I have tested this behaviour on a blank Drupal 10 install and with different admin themes.
I have tested on PHP 8.2 and 8.3. Nothing seems to fix my problem.
I will cross post this into 'required_api' as well.
Active
2.0
Documentation