Is there an "OR" mechanism for conditional fields?

Kirby allows me to conditionally show a field using the when property, as documented here: Fields | Kirby CMS

I can even apply multiple conditions, like this:

fields:
  toggle:
    type: toggle
  category:
    type: select
    options:
      - A
      - B
      - C
      - D
  text:
    type: text
    when:
      toggle: true
      category: B

Here, for the text field to be shown, all conditions must be met (toggle is true, category is A).

But what if I want to show the field when the category is A OR B (but not when it is C or D)? I would need an OR mechanism, which Iā€™m not finding in the documentation. Something like this:

fields:
  toggle:
    type: toggle
  category:
    type: select
    options:
      - A
      - B
      - C
      - D
  text:
    type: text
    when:
      toggle: true
      or:
        category: A
        category: B

Is this possible?

If not, how are people working around this limitation? Are programmable blueprints my only option here?

No, you can also use this plugin: GitHub - rasteiner/k3-whenquery: Conditionally show fields and sections. Better.

Great, thanks. So to be clear, this is simply not possible without the help of a third-party plugin?

Currently not.

I wondered, too if that was possible. I added a Pull Request for the documentation to make the information easier to find.