Skip to content

fix(forms): In select search text persists after selection confusing users (it should function as an autocomplete so search is gone once selected) #2974

@Fernananas

Description

@Fernananas

What version of EMX2 are you using (see footer)
[v8.221.0]

Describe the bug
In the current system on 'https://beta-ernithaca.molgeniscloud.org/, a bug exists where, during the process of field selection in edit mode, the text initially typed to locate the correct option persists and remains visible in the field box after the option is selected. This persistence of typed text leads to confusion for users as the displayed text may not accurately correspond to the chosen option. This occurs with; ref, ref-array, ontology, onotology_array.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://beta-ernithaca.molgeniscloud.org/ILIAD/tables/#/Subject'
  2. Click on 'plus', to create new patient
  3. Scroll down to 'Sex at birth'
  4. Type "fe"
  5. Select "Female"
  6. See box with "Female" and "fe" typed text

Expected behavior
After selecting the desired option in edit mode, the typed text should be cleared or replaced with the selected option. The field box should accurately reflect the chosen option, ensuring a clear and unambiguous representation of user input.

Screenshots
Example typed text
Scherm­afbeelding 2023-11-13 om 11 42 19

Additional context
From Alain's (ERN ITHACA) feedback

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions