Search
Get Started
F
Filament
•
2y ago
Pooja
How to create toggle without any modal filed name
T
o
g
g
l
e
:
:make
(
'any
_name
'
)
;
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,392
Members
View on Discord
Was this page helpful?
Yes
No
D
Dimitar
•
3/15/24, 11:31 AM
set its label to empty string
?
D
Dimitar
•
3/15/24, 11:31 AM
T
o
g
g
l
e
:
:make
(
'any
_name
'
)
-
>label
(
'
'
)
;
A
awcodes
•
3/15/24, 11:40 AM
Use
-
>hiddenLabel
(
) that way it
’s still accessible
.
P
Pooja
OP
•
3/18/24, 6:44 AM
I want to keep
:
:make
(
'
'
) empty because it is not connected to any table
. Is this possible
?
A
awcodes
•
3/18/24, 10:49 AM
You have to pass a key for make
(
)
. It doesn
’t have to exist in the table
, then use
-
>dehydrated
(false
) to keep it from submitting with the form data
.