feat: update input event handling in PopupInput and adjust feeding plan calculations

This commit is contained in:
ilhamtahir committed 2026-02-02 00:28:34 +08:00
1 parent 9a4a230cc2
commit 53cf9d12ea
4 files changed
+12 -6

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ defineEmits<{
<template>
<view class="w-full flex items-center gap-2">
<input class="text-right" :value="modelValue" :placeholder="placeholder" @input="$emit('update:modelValue', modelValue)">
<input class="text-right" :value="modelValue" :placeholder="placeholder" @input="$emit('update:modelValue', $event.detail.value)">
<text v-if="suffix">
{{ suffix }}
</text>