Laravel Filament: unique validation in relation manager over parent record values
(The following applies for Filament 2.x.) Sometimes you need unique validation in relation managers, but only for models that are attached to the same parent record. Let’s take selling various chocolate bars as an example. Assuming you have a product named “Snickers” with multiple sizes, such as “small” or “large”, you’ll probably want the size …