Skip to content

Commit

Permalink
HTML-842: Add Appointments Tag
Browse files Browse the repository at this point in the history
(change Appointment widget to render with a field tag instead of span)
  • Loading branch information
mogoodrich committed Jun 3, 2024
1 parent aa38901 commit bafe23f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public String generateHtml(FormEntryContext context) {

return checkboxWidgets.stream().map(checkboxWidget -> {
return checkboxWidget.generateHtml(context);
}).map((html) -> "<span" + (clazz != null ? " class=\"" + clazz + "\" " : "") + ">" + html + "</span>")
}).map((html) -> "<field" + (clazz != null ? " class=\"" + clazz + "\" " : "") + ">" + html + "</field>")
.collect(Collectors.joining());
}

Expand Down

0 comments on commit bafe23f

Please sign in to comment.