AllenFang / AllenFang/react-bootstrap-table

deleteRow confirmation dialog can suppress future deletions

Aperta
#577 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
2.2k
Fork
761
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When deleting a row (which I am doing through calling handleDropRow), a confirmation dialog appears.

screen shot 2016-07-21 at 9 55 02 am

If I check 'Prevent this page from creating additional dialogs', then on subsequent calls to handleDropRow, the row does not get deleted and there is no indication that a delete was attempted, even after reload of the page.

I have fixed this by using handleConfirmDeleteRow and calling next() to skip the confirmation, which works just fine, but I do not think the ability to prevent row deletions with that checkbox should be the default behavior.

This is using Chrome Version 51.0.2704.103.

Thanks for all the work on this great package!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.