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
DanielOP2y ago
Daniel
DanielOP2y ago
Is this a bug or am I doing something wrong?
awcodes
awcodes2y ago
Do you have any afterStateUpdated or similar on the checkbox list?
Daniel
DanielOP2y ago
no
awcodes
awcodes2y ago
That’s weird. Could be a bug then.
toeknee
toeknee2y ago
It's like it's triggered two requests at once and the second one trumps the first
awcodes
awcodes2y ago
yea, it's odd. was going to recommend updating but then saw the v2 tag
toeknee
toeknee2y ago
ahhh
awcodes
awcodes2y 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
toeknee2y ago
I'd also like to see the action too bth?
awcodes
awcodes2y ago
I take that back, i forgot about the reactive(). can confirm the same behavior. must be a bug.
toeknee
toeknee2y ago
Ahh
Daniel
DanielOP2y 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
awcodes2y ago
yes, please
Daniel
DanielOP2y ago
done 🙂

Did you find this page helpful?