ui only picklist field based on rows in another model doesn't update when the model updates

  • 1
  • Problem
  • Updated 1 year ago
  • Solved
I have a multiselect field called 'AccountsFilter' on a ui-only model. The picklist values are based on the Rows in a Model, and point to the Accounts model.

I have a separate filter on the Accounts model. When I filter Accounts, I expect the 'AccountsFilter' field to update the picklist options based on the currently available rows in the Accounts model. But it does not.

Help?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
looks like a workaround is to call .load() on the ui-only model after the Accounts model is filtered (queried).
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Matt,

What version of Skuid are you on? I'm on 10.0.3 and it seems like that is the behavior I'm seeing.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Ah, I'm still on 9.5.something
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Amy, do you know if this is fixed in 9.5.10?
Photo of Amy Dewaal

Amy Dewaal, Official Rep

  • 8,200 Points 5k badge 2x thumb
Sorry Matt, I looked but couldn't pinpoint when this was fixed, so I'm not sure.