Commit f89f6754 authored by Romain Bioteau's avatar Romain Bioteau Committed by benjaminParisel

fix(debugMessage) fix wording for alert on submit (#2707)

Closes BST-256
parent fb1357cb
......@@ -196,7 +196,11 @@ public class ContractInputToWidgetMapper {
String.format("!%s.message", SubmitErrorsListData.SUBMIT_ERROR_DATA));
widget.setPropertyValue("allowHTML", ParameterType.CONSTANT, true);
StringBuffer sb = new StringBuffer();
sb.append(String.format("<strong>{{%s.message}}</strong>", SubmitErrorsListData.SUBMIT_ERROR_DATA));
sb.append("<strong>Debug message</strong>");
sb.append("\n");
sb.append("<br/>");
sb.append("\n");
sb.append(String.format("{{%s.message}}", SubmitErrorsListData.SUBMIT_ERROR_DATA));
sb.append("\n");
sb.append(String.format("{{%s}}", SubmitErrorsListData.NAME));
widget.setPropertyValue("text", ParameterType.INTERPOLATION, sb.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment