Questions tagged [confirm-dialog]
33 questions
0
votes
1 answer
Can I use IF statements with a message dialog in java?
So, I've been stumped on this piece of code for about a week now, I want to have the code sending an error message when the user chooses 'No' or 'Cancel' however I get an error which tells me that NO and CANCEL are not variables. Does anyone have…

TiaC
- 3
- 1
- 4
-1
votes
1 answer
Why imported hook gives an error has already been declared
In my react project, I import this:
import confirmDialog from '../../components/confirmDialog/ConfirmDialog';
when I add the bottom line:
const [confirmDialog, SetConfirmDialog] = useState ({isOpen: false, title: '', subTitle: ''});
I get the…

Hossein Azizdokht
- 748
- 3
- 17
-1
votes
1 answer
wicket modal window error on close
Sometimes when closing ModalWindow the message "Do you want to leave or stay ..." pop up.
I am not able to determine why. For instance, I close window 10x (still in the same way) and some of these tries end up with this failure.
It would be ok, but…

user2431846
- 21
- 5