diff --git a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/activities/JsonFormActivity.java b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/activities/JsonFormActivity.java index abdddd25f..f61e00515 100644 --- a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/activities/JsonFormActivity.java +++ b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/activities/JsonFormActivity.java @@ -1722,6 +1722,9 @@ private void refreshViews(View childElement) { } else if (child instanceof MaterialSpinner) { MaterialSpinner spinner = (MaterialSpinner) child; spinner.setSelected(false); + } else if(child instanceof TextView && child.getId() == R.id.duration){ + // clear duration for custom date picker + ((TextView) child).setText(""); } refreshViews(group.getChildAt(id)); } diff --git a/gradle.properties b/gradle.properties index a29345eae..1cd55aa78 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -VERSION_NAME=1.4.8-SNAPSHOT +VERSION_NAME=1.4.9-SNAPSHOT VERSION_CODE=1 GROUP=org.smartregister POM_SETTING_DESCRIPTION=OpenSRP Client Native Form Json Wizard