Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete chip is empty if display text not specified #1604

Closed
williamito opened this issue Sep 12, 2022 · 2 comments · Fixed by #2430
Closed

Autocomplete chip is empty if display text not specified #1604

williamito opened this issue Sep 12, 2022 · 2 comments · Fixed by #2430
Assignees
Labels
effort:xsmall Extra small effort - 1 day P3 Low priority issue type:bug Something isn't working

Comments

@williamito
Copy link
Contributor

Describe the bug
I have an answerOption with a bunch of codes without display text, e.g.

"answerOption":
[
  {
    "valueCoding":
    {
      "code": "LA11231-0",
      "system": "http://loinc.org"
    }
  },
  {
    "valueCoding":
    {
      "code": "LA24366-9",
      "system": "http://loinc.org"
    }
  },
...

When using autocomplete, it searches on all the code text which I believe is reasonable, but when I select one the chip itself is empty.

Component
SDC Library

To Reproduce
Load a questionnaire with answerOption items without display values.

Expected behavior
The code is used to fill the chip text if display is missing, since that's what was shown while doing the autocomplete.

Screenshots

bad-chips.mp4
@Tarun-Bhardwaj Tarun-Bhardwaj moved this to Backlog in Android FHIR SDK Sep 16, 2022
@jingtang10 jingtang10 moved this from Backlog to New in Android FHIR SDK Sep 26, 2022
@Tarun-Bhardwaj Tarun-Bhardwaj added type:bug Something isn't working effort:xsmall Extra small effort - 1 day P3 Low priority issue labels Oct 18, 2022
@jingtang10
Copy link
Collaborator

@santosh-pingle can you take a look at this please?

@santosh-pingle
Copy link
Collaborator

looking into it.

@fredhersch fredhersch moved this from New to Backlog in Android FHIR SDK Feb 6, 2024
@fredhersch fredhersch moved this from Backlog to In Progress in Android FHIR SDK Feb 6, 2024
@santosh-pingle santosh-pingle mentioned this issue Feb 6, 2024
7 tasks
@github-project-automation github-project-automation bot moved this from In Progress to Complete in Android FHIR SDK Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:xsmall Extra small effort - 1 day P3 Low priority issue type:bug Something isn't working
Projects
Status: Complete
Development

Successfully merging a pull request may close this issue.

4 participants