open_dialog with with
allow_folders=True, Windows 10 Pro 21H1 does not permit selection of a folder, only a file. Is there a workaround for this?
Which version are you using?
allow_folders option is only for macOS. On Windows and Linux you need to use
select_folder_dialog to select a folder.