Merklin's avatar

Limit available enum options for a given model?

Hello. I am working on a project with Filament and decided to use an Enum for model statuses. However, for one of my model, I'd like to have only some of those statuses available. Is there a way to achieve this without making a separate enum just for this model?

I'm asking this, because in the future I may have other models that will also won't need some of the statuses.

Let's say that from a total of 8, some models may use 4, another 6 and most of the models all 8.

0 likes
0 replies

Please or to participate in this conversation.