I know these codes:
But is there a way to make Reset go back to initialLatex instead of completely clearing?
If they submit x=5 and hit submit. THen reset, I’d like it to go back to “x=”
Something like resetLatex?
Great question / idea. I think that’s probably how all inputs should work if they have both initialLatex and clearOnReset - we’ll make that change (no guarantee on when, unfortunately…)
Similar conversation happening here: https://cl.desmos.com/t/new-sinks-for-expression-inputs/56/10?u=asmith
I can see power in both a prefix and a reset command. I also see the power in them being able to backspace out the initial latex to “correct” a statement or something.
in other words, we are very excited about the potential of desmos and “we want it all!”
I see that this conversation is from a few years ago, but I was wondering the same thing. I have an activity with an intial latex input, and I would like it to reset to the intial latex when the button is pressed. Is that now possible?
It looks like resetOnChange and clearOnReset maintains the initialLatex now. Not sure what your button is, but this would reset on an action button press in the input CL: