Skip to content

Commit

Permalink
feat: add hidden input for range to retrieve value in form data
Browse files Browse the repository at this point in the history
  • Loading branch information
caro3801 committed Dec 16, 2024
1 parent bab312d commit d679083
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ defineProps({
<div class="form-control-range__wrapper">
<form-control-range-slider v-model="modelValue" class="mb-3" :min="min" :max="max" :step="step" />
<form-control-range-ticks v-model="modelValue" :min="min" :max="max" :step="step" />
<input v-if="name" type="hidden" :name="name" :value="modelValue" />
</div>
</div>
</template>
Expand Down

0 comments on commit d679083

Please sign in to comment.