missing parameters for field conditional rendering snippet

  • 2
  • Idea
  • Updated 6 days ago
  • Under Consideration
No parameters are passed to a snippet used for conditional rendering a field. er ... uh ...
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 44,006 Points 20k badge 2x thumb

Posted 11 months ago

  • 2
Photo of Matt Sones

Matt Sones, Champion

  • 32,036 Points 20k badge 2x thumb
Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
Did this once work and now it doesn't or is this something you're hoping a future version of Skuid will include?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 44,006 Points 20k badge 2x thumb
Dunno if it worked before. Looking to have this available since one can't really determine to conditionally render using any context.
Photo of Craig Rosenbaum

Craig Rosenbaum

  • 4,940 Points 4k badge 2x thumb
I do not believe context has ever been passed to the snippet in this case
Photo of Zach McElrath

Zach McElrath, Employee

  • 52,856 Points 50k badge 2x thumb
Pat, you are totally right, this would be really helpful.

We literally have the code for this in our codebase already but it is commented-out :)

I'll see if we can get this in to the upcoming release.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 44,006 Points 20k badge 2x thumb
What...commented out my thoughts on that below. ;)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 44,006 Points 20k badge 2x thumb
Bumpity Bump Bump!
Photo of Arne-Per Heurberg

Arne-Per Heurberg

  • 2,566 Points 2k badge 2x thumb
Zach, any word on this?