AllenFang / AllenFang/react-bootstrap-table

Failed prop type: Invalid prop `colGroups` of type `object` supplied to `TableHeader`, expected a single ReactElement.

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

Descrição

Bootstrap table renders without any problem, but console is showing a warning.

Using version 4.20
Warning only happens in IE

**Warning in IE Console:**
> Failed prop type: Invalid prop `colGroups` of type `object` supplied to `TableHeader`, expected a single ReactElement.
> in TableHeader (created by BootstrapTable)
> in BootstrapTable (created by ClaimParts)
> in ClaimParts (created by Connect(ClaimParts))
> in Connect(ClaimParts) (created by WarrantyClaimForm)
> in div (created by WarrantyClaimForm)
> in div (created by BlockUi)
> in BlockUi (created by WarrantyClaimForm)
> in WarrantyClaimForm (created by Connect(WarrantyClaimForm))
> in Connect(WarrantyClaimForm) (created by AuthenticatedComponent)
> in AuthenticatedComponent (created by Connect(AuthenticatedComponent))
> in Connect(AuthenticatedComponent) (created by Route)
> in Route
> in div (created by Layout)
> in div (created by Layout)
> in Layout
> in Router
> in Provider
> in AppContainer

**Sample code**
```
let testData = [
{ owner: "Bob's Potato Farm", model: "NX451 HST", serial: "123456", status: "Draft", created: '6/01/17', modified: '6/05/17' },
{ owner: "Contentnea Jct Apples", model: "RS6620 Cab", serial: "34232", status: "Approved", created: '6/06/17', modified: '6/15/17' },
{ owner: "Aebulon Stawberries", model: "RS6010 Cab", serial: "5043511", status: "Approved", created: '6/10/17', modified: '6/15/17' },
];

return

Owner's Name
Equipment Model
Serial #
Status
Created
Modified

```

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.