У меня есть текстовое поле с Material Design Lite (MDL).:

It is a required field that validates as the user types. I am hoping that when you hit space, it does not validate the field but it would still be red and say "required" (like above). i.e., not like this:

The (Java Spring) code in the view is:
Строка адреса 1
Как заставить проверку MDL игнорировать ведущие пробелы?