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
Oh, summary string transformations are not supported in an object summary. It’s for a collection summary. Sveltia CMS supports transformations in entry slugs as well (that’s decaporg/decap-cms#4783) so I think I can quickly add the support for object and list summaries.
and noob question: why cannot we use basic javascript in those double brackets? like so {{fields.containerize? 'yes':'no'}} "
This makes sense for the ternary operator, but transformation pipes can be chained like body | upper | truncate(20, '...') so I think we should keep the current syntax 😉
kyoshino
changed the title
Support transformations in summary of object and list widgets
Support summary string transformations for object and list widgets
Nov 13, 2024
Hello kyoshino!
Whether it is ternary filter or | upper, it return nothing for me
maybe i'm missing something tho
and noob question: why cannot we use basic javascript in those double brackets? like so {{fields.containerize? 'yes':'no'}} "
thanks
The text was updated successfully, but these errors were encountered: