ui: 'description' not working on enum types
srl295 opened this issue · comments
URL to the linked Repository or Organization
Steps to reproduce the problem
- attempt to sign https://cla-assistant.io/srl295/turbo-octo-parakeet
relevant metadata is here:
{
"category": {
"title": "How do you sign?",
"type": {
"enum": [
"I am signing on behalf of myself.",
"My employer has already signed the CLA."
]
},
"required": true,
"description": "Once upon a time in a land far, far away, we needed to add some additional content."
}
}
What is the expected result?
- the 'description' on the last field (the enum type) should show up.
What happens instead?
- the "far far away" text shows up as a
title="
attribute on the group, but isn't otherwise visible
Any other information? (attach screenshot if possible)
Here's a screenshot with my mouse over one of the text entries. You can see the title pop up.
![image](https://private-user-images.githubusercontent.com/855219/302386539-e066d082-5140-4aef-b654-5c42cdc729e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTI3NzE1MjQsIm5iZiI6MTcxMjc3MTIyNCwicGF0aCI6Ii84NTUyMTkvMzAyMzg2NTM5LWUwNjZkMDgyLTUxNDAtNGFlZi1iNjU0LTVjNDJjZGM3MjllMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNDEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDQxMFQxNzQ3MDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMjY2ODJmZTEwOWM3ODE3NDVjNzljNGU5ZmU3M2M2YWYyNzE4ZTk3OTQ3NGI5YzVhNzIzZGM5NGNlOTg3ZTAwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.m-Rlx6qkofo821GpZpsX9Vzs3dmWGWhyuLLnsFID9-0)
Used browser and browser version?
Edge/windows
Any other tested browsers/devices(OK/FAIL):
no, but the HTML doesn't seem like it would be different.
Maybe related to #1041