Using "Run Component Action" to switch to Edit mode..

  • 1
  • Question
  • Updated 2 months ago
  • Answered
(Using Skuid 11.2.5)

We have a bunch of Field Editors on a page, and we have buttons to move them in and out of Edit mode (using a Global Action Sequence, but this is irrelevant) that fires a bunch of "Run Component Actions". I have two sequences that specifically move them between edit and read, because using Toggle 1) didn't solve this problem and 2) seemed to introduce other problems!

So on each action we have a sequence of these on each field editor:

"Run Component Action" > "Change Edit/Read Mode" > "Edit Mode"

and subsequently on action sequence 2:

"Run Component Action" > "Change Edit/Read Mode" > "Read Mode"


Now, these "work" - but they only work if the table's original mode was "Read with Inline-Edit" - and when you run the action to put them back into "Read Mode" - it puts them back in to "Read with Inline-Edit".

ie. If we make the field editor "Read Mode" on the page - the Component Action cannot switch it into Edit mode (it simply doesn't change).

Has anyone else experienced this? Or think it's a bit weird. I really don't want inline edit mode on the editors, we want the user to make a conscious decision to switch to edit mode (as we do other stuff then too). 

I want to go:

Read -> Edit - > Read (and so on) 

not

Read with Inline Edit -> Edit -> Read with inline Edit


Is that just the way it works? So am I going to have to replace the actions sequences with a bunch of Javascript?! (again?!)

Cheers.

Photo of srlawr

srlawr

  • 494 Points 250 badge 2x thumb
  • prepared for the worst

Posted 2 months ago

  • 1
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
This is fixed in 11.2.9 in CORE-2055

Thank you for bringing it to us. If it doesn't work past 11.2.9, please let us know.
Photo of srlawr

srlawr

  • 494 Points 250 badge 2x thumb
Ok, excellent, thank you! I will have a word with the technical lead and see if/when a Skuid update is scheduled (and I'll also let you know if this doesn't resolve it ;) )