Is the chosen pack somewhere in the changeset?
If yes then with fetch_field you can get the pack, and from that find the right enum to pass in the validation function.
Welcome here !
Is the chosen pack somewhere in the changeset?
If yes then with fetch_field you can get the pack, and from that find the right enum to pass in the validation function.
Welcome here !