diff --git a/src/components/Form/FormGroup.vue b/src/components/Form/FormGroup.vue
index c30f269c6..aeecf4784 100644
--- a/src/components/Form/FormGroup.vue
+++ b/src/components/Form/FormGroup.vue
@@ -94,6 +94,7 @@ export default {
FieldMetadataSetting,
FieldOptions,
<<<<<<< HEAD
+<<<<<<< HEAD
<<<<<<< HEAD
FieldOrcid,
=======
@@ -102,6 +103,8 @@ export default {
>>>>>>> c89f0b3 (pkp/pkp-lib#5885 removed unnecessary fields and controls with field range component enhancement)
FieldRangeSlider,
>>>>>>> 81f8819 (pkp/pkp-lib#5885 updated and added new UI component)
+=======
+>>>>>>> 7dabf2c (pkp/pkp-lib#5885 updated using new slider component)
FieldPreparedContent,
FieldRadioInput,
FieldRichTextarea,
diff --git a/src/components/Form/fields/FieldRangeSlider.vue b/src/components/Form/fields/FieldRangeSlider.vue
deleted file mode 100644
index 182bc503e..000000000
--- a/src/components/Form/fields/FieldRangeSlider.vue
+++ /dev/null
@@ -1,385 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/components/Form/fields/FieldSlider.vue b/src/components/Form/fields/FieldSlider.vue
index 19c86abca..73d02c7ea 100644
--- a/src/components/Form/fields/FieldSlider.vue
+++ b/src/components/Form/fields/FieldSlider.vue
@@ -163,7 +163,12 @@ export default {
},
computed: {
displayedValue() {
- if (this.valueLabelMin && this.currentValue == this.min) {
+ if (
+ this.valueLabelMin &&
+ (this.currentValue == this.min ||
+ this.currentValue == null ||
+ this.currentValue == undefined)
+ ) {
return this.replaceLocaleParams(this.valueLabelMin, {
value: this.currentValue,
});