Dropdown values option based on condition

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x ] Documentation issue or request

Current behavior

Expected behavior

Minimal reproduction of the problem

Environment

  • [ x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]

Browser:

  • [ x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:
Hi Sebastain
We have a requirement explained below.

We have reference schema category, with field type having options: low/mid/both
Now this schema is used as reference to dropDown in two other schemas.
Schema 1 : has all low and both type caterogy options (from category) in dropdown
Schema 2: has all mid and both type category options (from category) in dropdown.

Is it possible to implement it in Schema 1 & Schema 2 like this ?
Where dropdown values are filtered based on type field ?
Thanks

You would have to write a custom editor for that:

https://docs.squidex.io/02-documentation/developer-guides/editors#how-to-write-your-own-editor