Hey all,
I’m wanting to set a vue toggle on load based on a value I’m retrieving from Firebase. My toggle is pretty straight forward.
<f7-toggle :checked="published" @toggle:change="publishToggle"></f7-toggle>
In my data default property I have published: null, and on mount I am setting it to either true or false once the value is retrieved however this is what then triggers the infinite loop. How should I set the checked state on load with it the change function running?
Thanks!