Skip to content

Commit

Permalink
pkp/pkp-lib#9857 Add step prop
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Apr 9, 2024
1 parent 52651f6 commit 93e3324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Form/fields/FieldSlider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
v-model="currentValue"
:min="min"
:max="max"
:step="step"
class="w-full"
:aria-labelledby="labelId"
:pt="sliderStyling"
Expand Down Expand Up @@ -72,6 +73,7 @@ export default {
props: {
min: {required: true, type: Number},
max: {required: true, type: Number},
step: {required: false, type: Number, default: 1},
minLabel: {required: false, type: String, default: null},
maxLabel: {required: false, type: String, default: null},
/** Expecting translation key, which gets the value passed to it as {$value} */
Expand Down

0 comments on commit 93e3324

Please sign in to comment.