Search
Setup for Free
F
Filament
•
3y ago
Alisher
validation error
TextInput showing must be unique while updating record
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,352
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
A
Alisher
TextInput showing must be unique while updating record
T
toeknee
•
8/11/23, 1:16 PM
Are you new
.
.
.
.
T
toeknee
Are you new....
A
Alisher
OP
•
8/11/23, 1:16 PM
Yes sir
A
Alisher
Yes sir
T
toeknee
•
8/11/23, 1:16 PM
Please do read the docs
:
https://filamentphp.com/docs/2.x/forms/validation#unique
Validation - Form Builder - Filament
T
toeknee
Please do read the docs: https://filamentphp.com/docs/2.x/forms/validation#uniq...
A
Alisher
OP
•
8/11/23, 1:17 PM
Nothing about updating
A
Alisher
Nothing about updating
T
toeknee
•
8/11/23, 1:19 PM
Did you read
?
T
toeknee
Did you read?
A
Alisher
OP
•
8/11/23, 1:19 PM
yes
T
toeknee
•
8/11/23, 1:19 PM
If you
're using the admin panel
, you can easily ignore the current record by using ignoreRecord instead
:
T
toeknee
•
8/11/23, 1:19 PM
Field::make('email')->unique(ignoreRecord: true)
Field::make('email')->unique(ignoreRecord: true)
T
toeknee
•
8/11/23, 1:19 PM
it
's like two paragraphs done on that link I sent you
.
T
toeknee
If you're using the admin panel, you can easily ignore the current record by usi...
A
Alisher
OP
•
8/11/23, 1:21 PM
Tried this but still error
Tried every thing before posting this
T
toeknee
•
8/11/23, 1:23 PM
What does the error say in english and please provide the code you are using
.
Field
::
make
(
'email'
)
->
unique
(
ignoreRecord
:
true
)
Field
::
make
(
'email'
)
->
unique
(
ignoreRecord
:
true
)
Similar Threads
Tabs Validation Error
F
Filament / ❓┊help
15mo ago
TextInputColumn custom validation error
F
Filament / ❓┊help
12mo ago
notIn validation custom error
F
Filament / ❓┊help
3y ago
File upload validation error
F
Filament / ❓┊help
3y ago