Skip to content

Commit

Permalink
fixed date picker input handling and test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf committed Oct 1, 2024
1 parent ec87026 commit 60972f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion babex-vue/src/components/DateTimePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<template>
<div>
<input :readonly="readonly" class="form-control" type="text" :value="props.time ? formatDateTime(modelValue): formatDate(modelValue)" @change="onChange">
<input :readonly="readonly" class="form-control" type="text" :value="props.time ? formatDateTime(modelValue): formatDate(modelValue)" @input="onChange">
</div>
</template>

Expand Down
1 change: 0 additions & 1 deletion lab/integration_tests/test_agenda.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,5 @@ def test_agenda_modify_appointment_illegal(page, appointment_tomorrow, as_leader
new_time = original_time + timedelta(days=3)

page.fill(".appointment-start input", new_time.strftime("%d-%m-%Y %H:%M"))
page.click(".action-panel .save")

expect(page.locator(".action-panel .save")).to_be_disabled()

0 comments on commit 60972f1

Please sign in to comment.