Skip to content

Commit

Permalink
fixed popup_get_form type problem
Browse files Browse the repository at this point in the history
  • Loading branch information
kujirahand committed Nov 23, 2024
1 parent b650808 commit 1b9c235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TkEasyGUI/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1b9c235

Please sign in to comment.