I am glad to hear that you have managed to resolve the issue on your own! Indeed, having the input elements with a value different than a boolean might cause unexpected behavior. This is due to the fact that the validator checks the type and value simultaneously.
If you encounter any other obstacles, do let me know. I will be happy to assist.