Falko Schindler 1 год назад
Родитель
Сommit
65460efc2f
1 измененных файлов с 1 добавлено и 1 удалено
  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: