When maxItems is set on an array prop (e.g. maxItems: 5), the previous
code passed that value as field cardinality. Drupal then renders N delta
rows of entity_reference_autocomplete_tags. But the tags widget outputs
all values in a single text input with name [prop][target_id] — no delta
index — so all N rows share the same form element name. Only the last
submitted value survives, meaning every save discards all but one item.
Fix: always use CARDINALITY_UNLIMITED for array types when the tags
This MR updates the README compatibility note to reflect that — replacing "a fix has been reported upstream" with "This was fixed in Canvas 1.5.0." The x-entity-type approach in test and example components was already committed to 1.0.x as a best-practice workaround for anyone still on Canvas 1.4.x.
This release significantly expands the module beyond taxonomy terms to support
any entity type, and adds several new per-prop annotations for fine-grained
control.