missing parameters for field conditional rendering snippet

  • 1
  • Idea
  • Updated 3 months 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

  • 42,704 Points 20k badge 2x thumb

Posted 3 months ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 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

  • 42,704 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,776 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

  • 49,004 Points 20k 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

  • 42,704 Points 20k badge 2x thumb
What...commented out my thoughts on that below. ;)