Skip to content

Commit

Permalink
Merge pull request #605 from opensrp/fix-extended-radio-button
Browse files Browse the repository at this point in the history
Add translateable fields to ExtendedRadioButtonWidgetFactory
  • Loading branch information
hamza-vd authored Oct 5, 2021
2 parents c69b63c + 0155acd commit 5f73716
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ private void addRadioButtons(String stepName, Context context, JSONObject jsonOb

@Override
public Set<String> getCustomTranslatableWidgetFields() {
return new HashSet<>();
}
Set<String> customTranslatableWidgetFields = new HashSet<>();
customTranslatableWidgetFields.add(JsonFormConstants.OPTIONS_FIELD_NAME + "." + JsonFormConstants.TEXT);
customTranslatableWidgetFields.add(JsonFormConstants.OPTIONS_FIELD_NAME + "." + JsonFormConstants.CONTENT_INFO);
customTranslatableWidgetFields.add(JsonFormConstants.LABEL_INFO_TEXT);
customTranslatableWidgetFields.add(JsonFormConstants.LABEL_INFO_TITLE);
return customTranslatableWidgetFields; }
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=2.1.10-SNAPSHOT
VERSION_NAME=2.1.11-SNAPSHOT
VERSION_CODE=1
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Native Form Json Wizard
Expand Down

0 comments on commit 5f73716

Please sign in to comment.