Allow changing the position of the "Add Item" placeholder in ObjectsList
Summary
The system should allow the user to decide the position of the "Add Item" placeholder in ObjectsList.
Current Behavior
At the moment, Core appends the placeholder after the last element of the list.
Desired Behavior
The user should be in control of where the placeholder should be positioned.
Implementation Plan
- Add a new method in
ObjectsListItemDefinition
that defers implementation to decide the position. - Define the supported positions: beginning and end.
- Update
conditionallyAppendPlaceholder
to change its behaviour based on the option.
Migration Plan
- To prevent breaking existing code, the aforementioned method should default to
End
.