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
There are actually 2 related things that should/could be adressed at the same time.
The first thing is that comma (,) cant be used in an argument because split(',') is used.
Example of what breaks the rendering: {propName|fallback('This string will be cut, yes it will.')}
The second thing that would be nice is to be able to use a prop as an argument.
Example: {propName1|fallback(propName2)|toUpper}
Triple fallback example (In theory) :) : {propName1|fallback(propName2)|fallback(propName3)|fallback('Hey! You got no value!')}
The text was updated successfully, but these errors were encountered:
BTW @jesade-vbg, we should really remember to document this kind of stuff in the Wiki (unless it's already done of course!). Nice addition, but it won't get a lot of CPU cycles unless admins know about this. 😉
There are actually 2 related things that should/could be adressed at the same time.
The first thing is that comma (,) cant be used in an argument because split(',') is used.
Example of what breaks the rendering:
{propName|fallback('This string will be cut, yes it will.')}
The second thing that would be nice is to be able to use a prop as an argument.
Example:
{propName1|fallback(propName2)|toUpper}
Triple fallback example (In theory) :) :
{propName1|fallback(propName2)|fallback(propName3)|fallback('Hey! You got no value!')}
The text was updated successfully, but these errors were encountered: