AllenFang / AllenFang/react-bootstrap-table
Effectless type error when trying to map an array in a formatted field
Ouverte
enhancement
- Langage dominant
- JavaScript
- Étoiles
- 2.2k
- Forks
- 761
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello there !
I get an "Uncaught TypeError: cell.map is not a function" each time I edit the cell (but no error when the component mounts). Although the error seems to have no effect (updating the data and formatting the cell work perfectly), I'd really like to know how I could achieve this in a cleaner way.
Thanks for your answers !
```
function contentCell(cell, row){
return
- {step}
{cell.map(step=> (
))}
}
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.