Call method of one renderer from other renderer

We have implemented custom renderer for enum, now what requirement is we need to call method of renderer for one field from other renderer field.

e.g
department - enum (where we get list of department from backend
api - /departments)
users - enum (where we want to get list of users in selected department above field from backend
api - /dept1/users)

Hi @rohan.thakare,

If you want to access the data of another field in your renderer you can simply look at the form-wide data storage.

For example:

const jsonforms = useJsonForms();
const data = jsonforms.core.data
// check the data you are interested in
const selectedDepartment = data.department;