Custom field: get access to all fields of the entry

I have an entry with the following fields {field1: "A", customField: "X"}

I want to make customField field to have such behaviour:

  • when field1 === A I show dropdown with option [X, Y, Z]
  • when field1 === B I show dropdown with option [Q, W, E]

It it possible to access the entire entry from the Input component of the plugin?

This topic has been created from a Discord post (1257988847846035547) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Actually I found the solution. It is hook useCMEditViewDataManager