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