Skip to content

[Bug]: Role selection does not persist/display in New Attendant modal #17

@Brandevtech

Description

@Brandevtech

Description

What happened?
When attempting to register a new user via the "New Attendant" modal, the "Role *" selection field fails to display or persist the chosen option. After clicking on either "Account Owner" or "Agent", the dropdown closes but the selected value does not remain visible in the field.

Steps to Reproduce:

Open the "New Attendant" modal.

Click on the "Role *" dropdown.

Select any role (e.g., Agent).

Observe that the selection is not visually reflected/fixed in the field.

Affected Service

CRM Service (evo-ai-crm-community)

Steps to Reproduce

  1. Open the "New Attendant" modal.
  2. Click on the "Role *" dropdown.
  3. Select any role (e.g., Agent).
  4. Observe that the selection is not visually reflected in the field.

Expected Behavior

The selected role should be visible in the component after the dropdown closes.

Actual Behavior

The component remains in an empty state or does not update its label with the selected value.

Environment

  • OS: Windows
  • Docker: Swarm
  • Browser: Microsoft Edge

Screenshots

Image

Relevant Logs

index-BoTgyLKT.js:96 Select is changing from uncontrolled to controlled. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions