twenty
twenty copied to clipboard
Prefill Relation Fields with Initiating Object Icon and Name
Current Behavior
Today, when we create a relation:
- We display the
usericon as the default "Field on XXX" icon. - We display the
Field nameas the "Field on XXX" placeholder.
Desired Behavior
Since we know the object that initiates the relation creation, we want to prefill the "field on XXX" input and icon:
- The object that initiates the relation icon
- The object that initiates the relation name (adjusted for plural or singular based on the relation type: one-to-many, many-to-many, or many-to-one)
In the example above, the relation is initiated from the company object so the default "field on people" infos should be prefilled like this:
We should keep the Field name placeholder if the user removes the Object initiator name text.
are you working on this @sid0-0 ?
Yes @ehconitin a PR is raised.
Closed by #7363