JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Editor & Inputs › Facing difficulties with: Input. Suggestions welcome. › Reply To: Facing difficulties with: Input. Suggestions welcome.
July 31, 2025 at 6:59 pm
#112788
Keymaster
Hi,
You can achieve this with a custom v-model wrapper for Vue:
<template>
<smart-date-range-input
:value="modelValue"
@change="$emit('update:modelValue', $event.detail.value)"
></smart-date-range-input>
</template>
<script>
export default {
name: "DateRangeInputWrapper",
props: {
modelValue: String
}
};
</script>
Regards,
Markov
Smart UI Team
https://www.htmlelements.com/