Skip to content

Commit

Permalink
fix for MID-8174 (handling string collection more user friendly)
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav authored and KaterynaHonchar committed Sep 5, 2023
1 parent a4d8b50 commit 5b67b1f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ public <T> void exportData(IDataProvider<T> dataProvider,
}
}

@Override
protected String quoteValue(String value) {
value = value.replaceAll("^\\[|\\]$", "");
return super.quoteValue(value);
}

@Override
protected <T> IModel<T> wrapModel(IModel<T> model) {
if (model.getObject() == null) {
Expand Down

0 comments on commit 5b67b1f

Please sign in to comment.