© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
3mo ago
•
4 replies
Merdin
(Repeater) Set other toggles to false when a toggle is set to true
What I am trying to do
:
I
'm trying to make a quiz inside a Wizard
. In Step 2 I want to add the questions
+ options
.
What I did
:
I editted the CreateQuiz class and added a Wizard inside of it
.
Added a couple repeaters for the questions and the options
.
I select the
is_selected
is_selected
toggle of the first option
.
I select the
is_selected
is_selected
toggle of the second option
.
Expected result
:
first option
= false
second option
= true
My issue
/the error
:
Instead
, the result is
:
first option
= true
second option
= true
When I do it the other way around
, so I select the second option first and then select the first
, then it works as expected
.
Code
:
https://gist.github.com/Merdin/6c92e5e16ae8d2a2dc1f3a63bd78fbd2
Solution
Have you tried the
fixIndistinctState()
fixIndistinctState()
method
?
https://filamentphp.com/docs/4.x/forms/repeater#automatically-fixing-indistinct-state
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Set all toggle values to true
F
Filament / ❓┊help
3y ago
Toggle default true
F
Filament / ❓┊help
10mo ago
Repeater Toggle others
F
Filament / ❓┊help
2y ago
Toggle always false
F
Filament / ❓┊help
3y ago