vue-preferences
vue-preferences copied to clipboard
defaultValue gives null for Boolean
When using false as defaultValue, the default value is null instead of false.
I have another preference which is of type string and it works properly for that preference.
Using: localStorage
Also, i noticed that the preferences are not consistent. They are properly saved in the localStorage but sometimes they are not reflected in the UI. The user needs to refresh the page in order to see the updated preference.
Hi @TheAndroidGuy, thank four reporting the issue 😄! And sorry for the delay
- I was just able to see look into this, regarding the first comment I think I know what the issue is. I will do a bit more research and see if it easy to fix.
- Regarding your second comment can you provide an example where that happens? Or is that an intermittent thing? Please provide the version you are using