Hi HH team!
I’m trying to limit the description field to 148 characters on 2 cards being used in my Answers experience because as of now, the descriptions are all over the place in terms of character count (see here for reference).
This is my existing code but the showMore limit isn’t working.
I also tried referring to this older community post but I see there wasn’t a solution/response.
Any help would be great, thanks!
Hi @Ilana_Newman,
We don’t currently support the use of the showMoreDetails feature on a Rich Text field.
If you pull in the field as plain text instead (i.e., do not use the Rich Text formatter) the showMoreDetails functionality should work! Alternatively, it may be possible to find a workaround using the truncate() formula to limit the description.
I wanted to let you know about our new Ideas board. Ideas is a new feedback platform within Hitchhikers where users can submit product ideas or feature requests. I’d recommend moving this to Ideas (or upvoting the Idea if it has already been requested) so you can track statuses and comments from our Product team.
Let me know if you have further questions.
Best,
Melissa
1 Like
Hi Melissa!
Thanks for that info. Super helpful.
I changed the field type to regular text but the showMoreLimit is still not working. Do you know why this may be?
This is the code editor I’m working in: https://www.yext.com/s/3621961/sitesgit/29709/ with the card “integrations-override” and the config file “integrations.json”
My only guess as to why this is still not working is because of the card type “multilang-prominent-image-clickable”.
Thanks,
Ilana
Update! The client decided to actually keep rich text and not add the character limit so we are all set here. Thanks again!
Thanks @Ilana_Newman ! Feel free to comment back here if you have any further questions on this topic!