- 🇦🇹Austria a.milkovsky UTC +2
@sinn see my patch #5.
The `processEntityAutocompleteDefaultValue` method already supports the entityTypeManager entity load by any target entity type (not only "node" as in your example. In addition the method processes a non-integer value, in the entity_autocomplete format. - 🇦🇹Austria a.milkovsky UTC +2
Somehow the loaded entity gets lost after clicking on the "Add more" button. Trying to find a fix.
- last update
12 months ago 12 pass - 🇦🇹Austria a.milkovsky UTC +2
Added on additional case to check for EntityInterface.
- 🇦🇹Austria a.milkovsky UTC +2
Added an additional check `isset($element['#default_value'])`