'Input Mask - RobinHerbots

I have an input with numeric mask. When I enter the number zero, it doesn't recognize my input, the label continues and when I take focus off the input, the input is blank. Does anyone know a way to resolve this?

Label

Without focus:
Without Focus



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source