I am trying to use the tags input type but have the enum that drives the list of valid values for the tags. My idea is to have another field that is a reference input type that references another content model that has the list of values. When that value is selected I would then want to update the enum for the tags input to use the values from it as the dropdown values. I can see in this documentation Using model validation hooks that’s possible to use validation hooks to set the value of another field but how can i set the enumeration of that field?
This is how i am hoping to do it by setting a change hook on the first field but it doesn’t seem to work
HI, yes I have tried a change hook, in fact that is how I tried to do this with the code above and it didn’t work. So I am looking for some sample code that can be used in a change hook to set the enum values for another field to create a dependant dropdown.
My sincere apologies for the delayed response, and thank you for your patience.
We’ve spent some time investigating and testing various approaches, and at this point, we can confirm that this functionality is not currently possible.
While this may be something we consider for future development, there are no concrete plans at the moment, and I’m unable to provide an estimated timeline.
That said, we’ll continue exploring potential workarounds or alternative solutions, and if we discover anything that could help, we’ll be sure to let you know.
Again, I truly appreciate your understanding and apologize for the time this has taken.