Closed Ashlayyy closed 3 months ago
Nothing wrong with the example. It's working as expected. You can see it in this simple example.
If your ref
is never updated, there could be a mismatch in the variable name and what you set in ref=""
.
You can always get more info in the documentation
At the Methods page in the documentation there is a inaccurate representation of the implementation.
I have attached a screenshot, the part where it isn't correct is ref(null), if you define this as null it never will be anything besides null.
Unfortunately I am not that gifted in programming that I know what's wrong with it, but hopefully someone can figure out what should be changed :)