flet icon indicating copy to clipboard operation
flet copied to clipboard

Is_destructive method not working in cupertino alert dialog

Open HappyCoder256 opened this issue 1 year ago • 2 comments

Duplicate Check

  • [x] I have searched the opened issues and there are no duplicates

Describe the bug

I don't know whether am the only one running into this problem. Like tried using that method in my Cupertino Alert dialog but the only thing it does, it just changes the action button color to red, the rest it doesn't dismiss the dialog. Do you have anything similar to a fix i can use

Code sample

Code
[Paste your code here]

To reproduce

The functionality of the action button is not implemented, only the color is changed

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

Windows

Operating system details

10

Flet version

0.25.1

Regression

No, it isn't

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

No response

HappyCoder256 avatar Jan 30 '25 08:01 HappyCoder256

I have literaly the same issue

SIRGPrice avatar Jan 31 '25 09:01 SIRGPrice

it just changes the action button color to red

Yep that's the only thing it does. You have the control - close the dialog yourself as shown in the example.

ndonkoHenri avatar Jan 31 '25 14:01 ndonkoHenri