Skip to content

Default value selected on change for Object destination on Relation field #17111

@vlad610

Description

@vlad610

Bug Description

This is a minor issue with the user interface. When you create a Relation field on an object, when you select the "Object destination", after de-selecting the preselected object (e.g. Companies), when you select a new object, the initial one is also selected, and "2 Objects" is shown.

Steps to reproduce:

  1. From Data Model in Settings, add a new Relation field on an object.
  2. Notice "Company" is pre-selected under "Object destination"
  3. Expand the drop-down, de-select the default object and select a different object (e.g. Opportunity)
  4. Notice both values are selected (the initial one is selected again).
Image

Expected behavior

Only the one option you select should be selected, not two.

Workaround

Remove the initial default selection after it's re-added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🔖 Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions