diff --git a/docs/framework/public/components/sliderinput.png b/docs/framework/public/components/sliderinput.png index ab4527598..b3c2efdde 100644 Binary files a/docs/framework/public/components/sliderinput.png and b/docs/framework/public/components/sliderinput.png differ diff --git a/src/ui/src/core_components/base/BaseInputRange.vue b/src/ui/src/core_components/base/BaseInputRange.vue new file mode 100644 index 000000000..cb2da6eee --- /dev/null +++ b/src/ui/src/core_components/base/BaseInputRange.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/ui/src/core_components/base/BaseJsonViewerValue.vue b/src/ui/src/core_components/base/BaseJsonViewerValue.vue index 12b0c819f..9c82f5c92 100644 --- a/src/ui/src/core_components/base/BaseJsonViewerValue.vue +++ b/src/ui/src/core_components/base/BaseJsonViewerValue.vue @@ -7,7 +7,10 @@ import { PropType, computed } from "vue"; import type { JsonValue } from "./BaseJsonViewer.vue"; const props = defineProps({ - data: { type: Object as PropType, required: true }, + data: { + type: [Object, String, Number] as PropType, + required: true, + }, }); const dataFormatted = computed(() => JSON.stringify(props.data)); diff --git a/src/ui/src/core_components/input/CoreSliderInput.vue b/src/ui/src/core_components/input/CoreSliderInput.vue index 4bb2d384d..34f0b78d1 100644 --- a/src/ui/src/core_components/input/CoreSliderInput.vue +++ b/src/ui/src/core_components/input/CoreSliderInput.vue @@ -4,33 +4,22 @@ :label="fields.label.value" class="CoreSliderInput" > -
- -
-

{{ formValue }}

-
-
+