Fix TextInputLayout errors not displaying by explicitly setting isErrorEnabled to true before assigning the error message string.