From 1b9c23518ac264976794bc0eb8a23a87f60f8991 Mon Sep 17 00:00:00 2001 From: kujirahand Date: Sat, 23 Nov 2024 19:51:56 +0900 Subject: [PATCH] fixed popup_get_form type problem --- TkEasyGUI/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TkEasyGUI/dialogs.py b/TkEasyGUI/dialogs.py index f91b98b..5dc7b24 100644 --- a/TkEasyGUI/dialogs.py +++ b/TkEasyGUI/dialogs.py @@ -658,7 +658,7 @@ def popup_get_form( # make line line = [eg.Text(label, key=f"{it_key}-label", size=(15, 1), text_align="right")] # check type - itype == itype.lower() + itype = itype.lower() if itype == "text" or itype == "number" or itype == "password": line.append(eg.Input( default_value, key=it_key, size=(20, 1),