Filter enum value from select enum options (get all enum values but selected ones)
Hey everyone, I have a repeater for some attributes of same table, to be able to store multiple data using
handleRecordCreation
method
one of the repeated attribute is car_type
which is a select options using CarType::class
enum, so I don't want to display an option that I already used in a previous repeater, do you know how I achieve that?
Thanks in advance!3 Replies
I have tried doing this but didn't work
Solution
Thanks a lot @Leandro Ferreira , didn't know that!