Skip to content

Transfer of value between different types selectors #8160

@DraftProducts

Description

@DraftProducts

Description

If you replace a selector with a another selector of same type triggered by a first selection, even if it is not the same custom_id, the value is transferred to the new selector.

Steps to Reproduce

  1. Create a code in the language of your choice that replace the custom_id of a role selector component with an interaction edit
  2. Use the first selector, see that the value isn't reset

Expected Behavior

A reset of selection because it's a different selector

Current Behavior

The value is transferred from the old selector to the new selector

Screenshots/Videos

repro.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmessage componentsclick click click click click click clicksyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions