google / android-fhir

The Android FHIR SDK is a set of Kotlin libraries for building offline-capable, mobile-first healthcare applications using the HL7® FHIR® standard on Android.
https://google.github.io/android-fhir/
Apache License 2.0
458 stars 238 forks source link

Configurable hyphen("-") answer option in dropdown menu. #2505

Open AdityaKBhadragond14 opened 1 month ago

AdityaKBhadragond14 commented 1 month ago

Describe the bug In the dropdown menu the hyphen ("-") answer option is being added if the user does not want to select any answer from the dropdown which is confusing as to what the hyphen states.

Component SDC gallery app

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I suggest the hyphen option should be configurable such that it can be configured to be replaced by any other answer option like "None".

Screenshots Screenshot_20240401_181445

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

Would you like to work on the issue? Yes.

MJ1998 commented 1 month ago

Thanks for raising this @AdityaKBhadragond14. I guess you are working on this ?

AdityaKBhadragond14 commented 1 month ago

Yes I am working on this.

MJ1998 commented 2 weeks ago

Configuring this is already possible. All you need to do is override the hyphen variable in your application's strings.xml.