`TextInput` `distinct` v3 equivalent in v2?
In v3 i do:
Now i have to do it also in a v2 project, but idk how to. which would be the equivalent?
2 Replies
Take a look at : https://filamentphp.com/docs/2.x/forms/validation#other-rules and https://laravel.com/docs/10.x/validation#rule-distinct
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
thankss
crazy, but this way seems it works
what do u think xd?
im overcomplicating it, or u would do the same aprox?
its inside a repeater, that's why i just dont do:
rules(['distinct'])
, since wont actually checks it