- Issue created by @dieterholvoet
- Status changed to Needs review
5 months ago 1:04pm 10 July 2024
When I visit the edit form of a required field and the default (Core) Required API plugin is enabled, the required checkbox is not checked, even though the field is required in config. The problem is that Drupal\Core\Field\FieldItemList::defaultValueWidget()
calls $definition->setRequired(FALSE)
for the default value form, and the Required API code uses that modified entity.
Visit the edit form of any required field.
Use an unmodified version of the field config entity.
Needs review
2.0
Code