AllenFang / AllenFang/react-bootstrap-table

deleteRow confirmation dialog can suppress future deletions

Aberta
#577 1 comentário 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
2.2k
Forks
761
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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!

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.