# Context / selected: UI doesn't seem to reflect the changed behavior

**URL:** <https://community.appfarm.io/t/context-selected-ui-doesnt-seem-to-reflect-the-changed-behavior/2374>\
**Category:** Ask the community\
**Tags:** ui\
**Created:** [June 8, 2026, 6:59am UTC](https://community.appfarm.io/t/context-selected-ui-doesnt-seem-to-reflect-the-changed-behavior/2374 "2026-06-08T06:59:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [June 8, 2026, 6:59am UTC](https://community.appfarm.io/t/context-selected-ui-doesnt-seem-to-reflect-the-changed-behavior/2374/1 "2026-06-08T06:59:50Z")

</div>

Hi,

what used to be `context/selected` when setting filters on iterating containers has recently been split into 2 separate choices. This has some benefits, but it’s no longer possible to set up the old “either/or” behaviour, even though the UI suggests it should be:

![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/6/6b6294bf0f708099acce437e5da64162e6e9d92f.png)

On the selection level it still looks the same, but when you open the filter you have to choose one or the other. This makes for a somewhat cumbersome and misleading UX, since you have to actually open the menu to know which condition is selected.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/6/6837c6b8880a5730f11bf3b3904155b9925d1aa3.png)

To be clear, I haven’t seen this break any existing setup – but the option to configure it the way it used to work seems to be gone, despite the UI implying otherwise. The extra flexibility is appreciated, but it would be great if the old behavior was still available as an option.

---

<div class="post-metadata">

**Author:** ![synne](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@synne](https://community.appfarm.io/u/synne)\
**Post date:** [June 10, 2026, 2:07pm UTC](https://community.appfarm.io/t/context-selected-ui-doesnt-seem-to-reflect-the-changed-behavior/2374/2 "2026-06-10T14:07:02Z")

</div>

Hi Joanna,

Thanks for raising this — I can see why the UI feels confusing here!

The two modes are actually distinct:

- **Context** → uses `getSingleObject()` → returns the context object, a single selected object, or a lone object. Always one object — this is the old either/or behavior.
- **Selected** → uses `getSelectedObjects()` → returns all selected objects, so potentially many.

The old either/or logic is still there, it’s just now represented by the **Context** choice. I’ll register a UI improvement request to to the Platform team to make this distinction clearer.

---

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [June 11, 2026, 8:24am UTC](https://community.appfarm.io/t/context-selected-ui-doesnt-seem-to-reflect-the-changed-behavior/2374/3 "2026-06-11T08:24:40Z")

</div>

Oh, that’s great to know 👌 Thanks for clarifying!

---

<div class="post-metadata">

**Author:** ![Joanna](https://dub1.discourse-cdn.com/flex013/user_avatar/community.appfarm.io/joanna/32/122_2.png) [@Joanna](https://community.appfarm.io/u/Joanna)\
**Post date:** [June 25, 2026, 10:43am UTC](https://community.appfarm.io/t/context-selected-ui-doesnt-seem-to-reflect-the-changed-behavior/2374/4 "2026-06-25T10:43:55Z")

</div>

Hi Synne,

It’s possible I’m misremembering, but I was convinced the old behaviour supported both single and multiple objects. Currently it always returns just one (like you’ve mentioned) – yet “exists in” is still available as an option, which implies it handles both cases.

It looks like either the behavior has changed, or it’s a UI bug.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/appfarm/original/2X/5/5b692954a38c6e2f25fde0d7a03fc1964fe2479b.png)
