Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfoClick prop filters - Allow props as filter arguments #1269

Closed
jesade-vbg opened this issue Jan 19, 2023 · 3 comments
Closed

InfoClick prop filters - Allow props as filter arguments #1269

jesade-vbg opened this issue Jan 19, 2023 · 3 comments
Assignees
Labels
idea new feature Request for adding/changing functionality
Milestone

Comments

@jesade-vbg
Copy link
Contributor

There are actually 2 related things that should/could be adressed at the same time.

  1. 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.')}

  2. 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!')}

@jesade-vbg jesade-vbg added new feature Request for adding/changing functionality idea labels Jan 19, 2023
@jesade-vbg jesade-vbg added this to the 3.x milestone Jan 19, 2023
@jesade-vbg jesade-vbg self-assigned this Jan 19, 2023
@jacobwod jacobwod modified the milestones: 3.x, 3.12 Jan 25, 2023
@jacobwod
Copy link
Member

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. 😉

@jesade-vbg
Copy link
Contributor Author

Haha yes! My dog ate the documentation I wrote so I guess I'll have to write it again. Thanx for the reminder :)

@jesade-vbg
Copy link
Contributor Author

Docs added to wiki. (props as filter args, subscript, superscript)

@jacobwod jacobwod closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea new feature Request for adding/changing functionality
Projects
None yet
Development

No branches or pull requests

2 participants