-
HI, i have a problem creating a AlertDialog after one is closed, i went to github and integrated a calendar for my app and now i have a problem with not fully understanting flet or beeing a pro at python this is the full code
i have problems there:
if i try to open the modalXX1 in modalXX i get AttributeError: 'NoneType' object has no attribute 'dialog' Some help please, i struggle for 2 days on this and i dont understand what i am doing wrong |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Firstly, the issue description appears to be quite complex and challenging to understand. To facilitate a swift resolution, could you please provide a more concise and clear explanation of the problem you're facing? Specific details about the issue and steps to reproduce it would be extremely helpful. Secondly, instead of copying and pasting the entire program into the issue, it would be more efficient to pinpoint the specific section or lines of code where you believe the issue is occurring. This focused approach not only helps us identify the problem area quickly but also keeps the discussion more organized. We value professionalism and efficiency in this open-source collaboration, and your assistance in this matter will contribute to a more productive discussion. If you have any questions or need guidance on how to create a more effective issue, please don't hesitate to ask. |
Beta Was this translation helpful? Give feedback.
-
Please provide some runnable code, so we can try to help you out... Nevertheless, I guess the problem is here: |
Beta Was this translation helpful? Give feedback.
-
I just created another page with the AlertDialog content, and now it's working well. I will just add a sidebar and call it a day |
Beta Was this translation helpful? Give feedback.
it connects to a local offline database so you cant run it, i can explain it tho
this is a dashboard card who opens a alertdialog with the content from Example
and this calendar icon opens this picker
who contains a icon too but when i click it i get
'NoneType' object has no attribute 'dialog'
but this is for self.dlg_modalXX1, the dialog for self.dlg_modalXX works fineif i try to run just the calendar without the dashboard card selector thing both dialogs are working