AllenFang / AllenFang/react-bootstrap-table

Select field (dropdown) in editble select mode

未关闭
#1,348 14 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
2.2k
派生
761
PR 合并指标
30 天内没有已合并 PR

描述

Hi,
I have to display Y or N options in dropdown in react bootstrap table cell.
code:
```
const cellEdit={
"mode":"click",
blurToSave: true
}
function dropDownFormatter(cell,row){
return(

Y
N

)
}

Archive Enable

```

When Iam trying to edit my dropdown Iam getting following error.

TableBody.js:170 Uncaught TypeError: column.format(...).replace is not a function

Note: In tableBody.js we are getting this issue.

Thanks

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。