app.native.main_window.create_file_dialog() stopped working after upgrading from 2.8.0 to 2.10.0 #4244
-
QuestionAfter upgrading from nicegui 2.8.0 to nicegui 2.10.0 the app.native.main_window.create_file_dialog function stopped working (Python version 3.10.11)
as code example: import asyncio
from nicegui import ui, app
import webview
async def choose_folder():
folder_path = await app.native.main_window.create_file_dialog(dialog_type=webview.FOLDER_DIALOG,
allow_multiple=False)
ui.notify(f'This is the path: {folder_path}')
ui.button('Choose folder', on_click=choose_folder)
ui.run(native=True) with nicegui 2.8.0 everything works properly, where am I going wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Jan 21, 2025
Replies: 1 comment 1 reply
-
Thanks for reporting this issue, @raffaellof! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We just released version 2.10.1 that should resolve this bug.