Skip to content

Commit

Permalink
stop input event from propagating to parent
Browse files Browse the repository at this point in the history
  • Loading branch information
zeezo887 committed Apr 25, 2024
1 parent 978f240 commit e4b8628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/js/components/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="datePicker__group" :ref="refs.flatPicker">
<div class="form__field datePicker__field">
<input type="text" :name="name" :id="uniqId" :required="required" :placeholder="placeHolder" data-input
@blur="onBlur" v-model="date" :disabled="disabled">
@blur="onBlur" @input.stop="onInput" v-model="date" :disabled="disabled">
<a href="#" v-if="clear" class="datePicker__reset" :class="{ 'datePicker__reset--cleared' : !date }"
@click.prevent="onClear"><span v-svg symbol="close_icon"></span></a>
</div>
Expand Down

0 comments on commit e4b8628

Please sign in to comment.