Our goal is to create dependent enumeration fields . For eg: If we have two drop downs A and B , on selecting the value of Drop down A should populate the values of Drop down 2. This is very much similar to the cascading plugin however both the drop downs should have their own name associated with it . We have created ao table which persists the mapping information and able to retrieve the mapped values through rest API.
We tried to achieve this by creating the custom field module type and realised that we can associate only one field Id and name to one custom field type. If we go for the option of creating two custom fields linking them together on onchange of drop-down A has become a challenge. can anyone please suggest on how we can achieve this