Răsfoiți Sursa

Resolved #1139, hopefully.

Aidan Follestad 8 ani în urmă
părinte
comite
54fb3aa251

+ 2 - 0
core/src/main/java/com/afollestad/materialdialogs/MaterialDialog.java

@@ -1387,6 +1387,8 @@ public class MaterialDialog extends DialogBase implements
             } else {
                 this.inputRangeErrorColor = errorColor;
             }
+            if (this.inputMinLength > 0)
+                this.inputAllowEmpty = false;
             return this;
         }