How to allow only a single component to be set from dynamic zone

I have the same issue and would like to known if we could enforce it in some-way.

As a workaround, I created a beforeCreate hook that only keeps the first element of the array