conditionally control read/edit properties

  • 9
  • Idea
  • Updated 1 year ago
  • Under Consideration
I'd love it if I could set conditions for a field editor's "Default Mode" property, such as based on the values of fields in my models. This would allow sections of my page to be read-only if the "Status" field is "Approved", or if the current user is of a certain role/profile.
Photo of Peter Bender

Peter Bender, Champion

  • 6,246 Points 5k badge 2x thumb

Posted 5 years ago

  • 9
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Peter,  we had the same Idea when we were dreaming up conditional rendering.  Showing and Hiding is merely one of the outcomes that should be possible based on conditions.  Obviously we haven't put that in place,  but we feel we have a framework that leads us toward it.  Thanks for your confirmation of our intuitions...
Photo of Pat Hicks

Pat Hicks

  • 898 Points 500 badge 2x thumb
I'd love to see this too!
(Edited)
Photo of Nate Gilbertson

Nate Gilbertson

  • 1,194 Points 1k badge 2x thumb
A work around would be having two sections that have identical fields. Then you can conditionally render one section that is editable if "Approved" is checked. The other section would be conditionally rendered if "Approved" is not checked and that section would be read-only.
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Hi, Any update on supporting conditional editability?
Photo of Chandra R

Chandra R

  • 300 Points 250 badge 2x thumb
Hi, any update on this? I have a lot of fields and so don't want to have another field editor with rendering condition. Would be great if there is any way to make the field editor conditionally read-only. Thanks!