From c1cc06ab9634d2cd2ea76184abcfa92a5c3094e4 Mon Sep 17 00:00:00 2001 From: evnchn Date: Fri, 24 Jul 2026 16:47:47 +0800 Subject: [PATCH] Remove dead no-parent-event prop from the date picker DateInput applied .props('no-parent-event') to the inner QDate, but Quasar 2.18.5's QDate has no such prop (noParentEvent belongs to the anchor-props mixin behind QMenu/QTooltip). It was an inert no-op attribute; removing it changes no behavior (open/close is driven by the parent QMenu). Co-Authored-By: Claude Opus 4.8 --- nicegui/elements/date_input.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nicegui/elements/date_input.py b/nicegui/elements/date_input.py index a5c358fb63..7133cce36b 100644 --- a/nicegui/elements/date_input.py +++ b/nicegui/elements/date_input.py @@ -39,7 +39,7 @@ def __init__(self, with self.add_slot('append'): with button(icon='edit_calendar', color=None).props('flat round') as self.button: with menu() as self.menu: - self.picker = date().props('no-parent-event').props('range' if range_input else '') + self.picker = date().props('range' if range_input else '') self.picker.bind_value(self, forward=lambda v: self._picker_to_input_value(v) if self._range_input else v,