/src/main/java/org/htmlunit/html/HtmlInput.java
if ( maxLength.isEmpty( ) ) {
if ( StringUtils.isEmpty ( value ) ) {
} final String pattern = getPattern(); if (StringUtils.isEmpty(pattern)) { return true; } final String value = getValue(); <extra_id_0> return true; } if (!isBlankPatternValidated() && StringUtils.isBlank(value)) { return true; } final RegExpJsToJavaConverter converter = new RegExpJsToJavaConverter();