Проверка Material Design Lite (MDL) игнорирует пробелы - PullRequest
0 голосов
/ 14 июля 2020

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

enter image description here

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:

enter image description here

The (Java Spring) code in the view is:

 Строка адреса 1    

Как заставить проверку MDL игнорировать ведущие пробелы?

...