Related issue: #63
Regression introduced by fix: #73
When editing a Project, it cannot be saved, because validator doesn't exclude current model's value from the check. It can be fixed using ignoreRecord: true
Filament Admin resolves the table and column based on resource model and field name, so manually inputting it is not necessary, unless the source of uniqueness really is somewhere else, so I removed it.
If you prefer verbosity, it can be reintroduced like this:
Related issue: #63 Regression introduced by fix: #73
When editing a Project, it cannot be saved, because validator doesn't exclude current model's value from the check. It can be fixed using
ignoreRecord: true
Documentation: https://filamentphp.com/docs/2.x/forms/validation#unique
Filament Admin resolves the table and column based on resource model and field name, so manually inputting it is not necessary, unless the source of uniqueness really is somewhere else, so I removed it.
If you prefer verbosity, it can be reintroduced like this: