Duplicate Check
Describe the bug
I received the following message while running my flet script on vscode:
" Page.overlay.append(dialog) instead.
page.dialog = dlg_modal"
So I have changed all page.dialog commands from page.dialog = dlg_modal / dlg_modal.open = True / dlg_modal.close = True ,
to page.open() / page.close()
It has worked 100% on my environment.
But, when I put this code on a Replit environment, the following message appeared, even using the exactly same version 0.23.2:
pg.page.open(dlg_modal)
AttributeError: 'Page' object has no attribute 'open'
Code sample
Deprecated version:
page.dialog = dlg_modal
dlg_modal.open = True
New Version:
page.open(dlg_modal)
To reproduce
Just create a Replit on replit.com and put a code and use an alertdialog or datepicker control...
Expected behavior
No response
Screenshots / Videos
Screenshots / Video demonstration
[Upload media here]
Operating System
Linux
Operating system details
Poetry
Flet version
0.23.2
Regression
No, it isn't
Suggestions
No response
Logs
Logs
Additional details
No response
Duplicate Check
Describe the bug
I received the following message while running my flet script on vscode:
" Page.overlay.append(dialog) instead.
page.dialog = dlg_modal"
So I have changed all page.dialog commands from page.dialog = dlg_modal / dlg_modal.open = True / dlg_modal.close = True ,
to page.open() / page.close()
It has worked 100% on my environment.
But, when I put this code on a Replit environment, the following message appeared, even using the exactly same version 0.23.2:
pg.page.open(dlg_modal)
AttributeError: 'Page' object has no attribute 'open'
Code sample
Deprecated version:
page.dialog = dlg_modal
dlg_modal.open = True
New Version:
page.open(dlg_modal)
To reproduce
Just create a Replit on replit.com and put a code and use an alertdialog or datepicker control...
Expected behavior
No response
Screenshots / Videos
Screenshots / Video demonstration
[Upload media here]
Operating System
Linux
Operating system details
Poetry
Flet version
0.23.2
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]Additional details
No response