F
Filament15mo ago
Daniel

Problem with CheckboxList and bulkToggleable

I do have a problem with a CheckboxList and bulkToggleable in combination with reactive()or lazy(). When trying to bulk toggle the first checkbox always gets unchecked. Without reactive()or lazy() everything works fine.
15 Replies
Daniel
DanielOP15mo ago
Daniel
DanielOP15mo ago
Is this a bug or am I doing something wrong?
awcodes
awcodes15mo ago
Do you have any afterStateUpdated or similar on the checkbox list?
Daniel
DanielOP15mo ago
no
awcodes
awcodes15mo ago
That’s weird. Could be a bug then.
toeknee
toeknee15mo ago
It's like it's triggered two requests at once and the second one trumps the first
awcodes
awcodes15mo ago
yea, it's odd. was going to recommend updating but then saw the v2 tag
toeknee
toeknee15mo ago
ahhh
awcodes
awcodes15mo ago
Just ran a test and it's working fine in a v2 app that I have. Can you share the code for your form?
toeknee
toeknee15mo ago
I'd also like to see the action too bth?
awcodes
awcodes15mo ago
I take that back, i forgot about the reactive(). can confirm the same behavior. must be a bug.
toeknee
toeknee15mo ago
Ahh
Daniel
DanielOP14mo ago
yeah, this only happens in combination with reactive/lazy strange that no one has noticed that before (i think this isn‘t an extremly special case) should i post an issue on github?
awcodes
awcodes14mo ago
yes, please
Daniel
DanielOP14mo ago
done 🙂
Want results from more Discord servers?
Add your server