Search
Setup for Free
F
Filament
•
3y ago
brahim
How can i save name of select and not id in db
How can i save name of select and not id in db
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,350
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
L
Lara Zeus
•
11/5/23, 8:07 PM
show your code to understand
B
brahim
OP
•
11/5/23, 8:08 PM
S
e
l
e
c
t
:
:make
(
'category
_id
'
)
-
>label
(
'Cat
égorie
'
)
-
>options
(
C
a
t
e
g
o
r
y
:
:all
(
)
-
>pluck
(
'name
'
,
'id
'
)
)
-
>required
(
)
-
>preload
(
)
-
>live
(onBlur
: true
)
-
>reactive
(
)
-
>searchable
(
)
L
Lara Zeus
•
11/5/23, 8:09 PM
pluck
(
'name
'
,
'name
'
)
B
brahim
OP
•
11/5/23, 9:02 PM
but how can i make relationship by name
B
brahim
OP
•
11/5/23, 9:02 PM
?
?
L
Lara Zeus
•
11/5/23, 9:34 PM
not following
? do you mean the
name
name
is a relationship
?
B
brahim
OP
•
11/6/23, 3:19 PM
yes
B
brahim
OP
•
11/6/23, 3:20 PM
i have now relation by id
D
Dennis Koch
•
11/7/23, 5:38 AM
Why would you want to do that
? A relationship should rely on a unique ID and not a name
.
Similar Threads
relation : How can i show the name and not the ID
F
Filament / ❓┊help
3y ago
How to get name instead of id in a select with relationship
F
Filament / ❓┊help
3y ago
Save values of Select in variable
F
Filament / ❓┊help
3y ago
How to save data in select CreateOptionForm
F
Filament / ❓┊help
3y ago