Falko Schindler hai 1 ano
pai
achega
65460efc2f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nicegui/events.py

+ 1 - 1
nicegui/events.py

@@ -181,7 +181,7 @@ class KeyboardKey:
     @property
     def enter(self) -> bool:
         """Whether the key is the enter key."""
-        return self.name == 'enter'
+        return self.name == 'Enter'
 
     @property
     def shift(self) -> bool: