amsuu / INDP

Interslavic Noun(and case) Declension Practice(and learning) tool!
https://amsuu.github.io/INDP/
GNU General Public License v3.0
2 stars 0 forks source link

[BUG] Disable Level 2 inputs on correct answer #51

Closed amsuu closed 1 month ago

amsuu commented 2 months ago

Actually I think that the new behaviour is even better. If we disable the inputs then the more contrasting color is 1. more visible and 2. serves as an indicator that the input is closed now and no longer modifiable. We may run into the issue of re-inputting (allowing users to fix their mistakes by re-enabling the inputs). But that will be an issue either way (both in level 1, and in 2)

amsuu commented 2 months ago

Talking about this btw (old vs new respectively)

image image

Maybe I could do some coloring stuff to the "submit button" so-to-speak (in this case it's "Check"), but that whole page needs work anyway

amsuu commented 2 months ago

I think that we could have the reds as the less contrasting color and NOT lock them, then keep the submit button as some variation of "Check" or "Check again" UNTIL all the inputs are correct but that's a whole other idea. Which I will make a feature request on one day probably

amsuu commented 1 month ago

For now a basic implementation to disable the input fields after the answer is submitted will do.