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

Obsidian Defined Value Pickers Showing Guids when "Display Descriptions" is Checked #5395

Closed
1 task done
Jon-Corey opened this issue Apr 14, 2023 · 0 comments
Closed
1 task done

Comments

@Jon-Corey
Copy link
Contributor

Jon-Corey commented Apr 14, 2023

Please go through all the tasks below

  • Check this box only after you have successfully completed both the above tasks

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

Obsidian Defined Value controls show guids instead of values when "Display Descriptions" is selected and the defined values do not have descriptions to display. A picture is worth a thousand words, so here you go:

Languages defined type configuration:
DisplayDescriptionsLanguagesConfiguration

Defined value picker in the wild:
DisplayDescriptionsDefinedValuePicker

Expected Behavior

When a "Display Descriptions" is selected, but no description is present, the control should fall back to Defined Value's value.

Actual Behavior

When a "Display Descriptions" is selected, but no description is present, the control falls back to Defined Value's guid.

Steps to Reproduce

  1. Go to General Settings > Defined Types > Languages
  2. Add "Español" as a description to the Spanish defined value
  3. Create a registration template
  4. On the first form of that template, add a registrant attribute with the following configurations:
    • Field Type: Defined Value
    • Defined Type: Languages
    • Display Descriptions: True
  5. Create an instance of the registration
  6. Go to a page with the Obsidian Registration Entry block with the registration instance id in the URL as a page parameter
  7. Select any number of registrants and hit "Next"
  8. Click on the defined value dropdown to show the values
  9. Notice how "Español" is the only value that isn't a guid

Rock Version

14.3 (Although this is an issue from v13 - present)

Client Culture Setting

en-US

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants