diff --git a/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-govuk-dialect/src/main/java/uk/gov/laa/ccms/springboot/dialect/DatePickerElementTagProcessor.java b/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-govuk-dialect/src/main/java/uk/gov/laa/ccms/springboot/dialect/DatePickerElementTagProcessor.java index 095b762..9013e15 100644 --- a/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-govuk-dialect/src/main/java/uk/gov/laa/ccms/springboot/dialect/DatePickerElementTagProcessor.java +++ b/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-govuk-dialect/src/main/java/uk/gov/laa/ccms/springboot/dialect/DatePickerElementTagProcessor.java @@ -1,5 +1,7 @@ package uk.gov.laa.ccms.springboot.dialect; +import static org.springframework.util.StringUtils.hasText; + import java.util.Map; import org.thymeleaf.context.ITemplateContext; import org.thymeleaf.model.IModel; @@ -48,10 +50,10 @@ private String buildDatePickerHtml(DatePickerAttributes datePickerAttributes) { StringBuilder html = new StringBuilder(); html.append("