I’ve got checkbox field on website. Information if field is checked or not, isn’t stored in socket.assigns
LiveView is subscribed to PubSub channel .
When LiveView receives payload from channel , some field are re-rendered , but after that my checkbox is unchecked (even though previously was checked).
How to keep state of checkbox after handle_info action ?
I don’t want use socket.assigns cause number of checkboxes are generated dynamically after clicking something.
Is it possible to keep state if checkbox is checked or not, not using socket.assigns ?
Thanks in advance .