missing parameters for field conditional rendering snippet

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

Pat Vachon, Champion

  • 44,526 Points 20k badge 2x thumb

Posted 1 year ago

  • 2
Photo of Matt Sones

Matt Sones, Champion

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

Stephen Sells, Alum

  • 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 Pat Vachon

Pat Vachon, Champion

  • 44,526 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,950 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

  • 53,814 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 Pat Vachon

Pat Vachon, Champion

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

Pat Vachon, Champion

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

Arne-Per Heurberg

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