Open kevwalsh opened 3 years ago
I found another example of this where a required field fails validation during bulk operatoins to modify field values. to reproduce, go to /admin/content/bulk?title=&type=faq_multiple_q_a&moderation_state=All&taxonomy_entity_index_tid_depth=All
and try to change the Section (fka Owner) field for several nodes at once using Modify Field Values
Here's the required field. A work around for this one might be to not load an empty paragraph field, since a paragraph is not required (but its fields are, once a paragraph exists).
This is an issue with Bulk edit functionality, not specific to Facilities
Describe the defect
Bulk modify field values is not ideal, but it is sometimes required, such as for Facility Operating status.
Editing a field via Bulk edit can result in form validation issues if some required fields are not set on the node.
To Reproduce Steps to reproduce the behavior:
Repeat this with Events instead of Vet Center
Note console error (see screenshot)
Repeat
Expected behavior Bulk modifying field values should not fail form validation on fields that are not included in the action.
Screenshots
Possible implementation
ACs