You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List of files that have been uploaded contains extra "</strong>" element. Presumably there is either never a starting "<strong>" or the "<strong>" just ends immediately, leaving one extra. The text for the filename is also not bold, it is probably supposed to be bold. Theme does not seem to matter.
Expected Behavior
I expect it not to look terrible.
Steps To Reproduce
Literally just add this at the bottom of the "simple" playground project, underneath "telephone":
, "attachments": { "type": "array", "title": "Attachments", "items": { "type": "string", "format": "data-url" } }
Again the theme does not seem to matter, all the ones i've tried have been broken. Well, the functionality works, it just looks terrible.
Environment
Your playground. My project. And presumably anywhere else.
Anything else?
No response
The text was updated successfully, but these errors were encountered:
joachimhagheim
changed the title
Filenames have an ugly "\</strong>" printed next to them.
Filenames have an ugly "</strong>" printed next to them.
Mar 8, 2024
@joachimhagheim Given that we are a small group of volunteers, we really can't fix everything little thing. Are you willing to debug and fix this? The FileInfo widget is using the translateString() implementation with markdown... If you want to fix this easily (hopefully), in the @rjsf/utils package and find the enum.ts and change <strong> and </strong> to the associated markdown (**) I believe this should fix it.
Prerequisites
What theme are you using?
Any
Version
5.17.1
Current Behavior
List of files that have been uploaded contains extra "</strong>" element. Presumably there is either never a starting "<strong>" or the "<strong>" just ends immediately, leaving one extra. The text for the filename is also not bold, it is probably supposed to be bold. Theme does not seem to matter.
Expected Behavior
I expect it not to look terrible.
Steps To Reproduce
Literally just add this at the bottom of the "simple" playground project, underneath "telephone":
, "attachments": { "type": "array", "title": "Attachments", "items": { "type": "string", "format": "data-url" } }
Again the theme does not seem to matter, all the ones i've tried have been broken. Well, the functionality works, it just looks terrible.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: