AllenFang / AllenFang/react-bootstrap-table

Uncaught TypeError: Cannot read property 'value' of undefined

オープン
#1,438 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2.2k
フォーク
761
PR マージ指標
30日以内にマージされた PR はありません

説明

A custom `` field in an InsertModal throws an error. How to manage `select`s in the plugin?

A field:
```

Status code

CONFIRMED
NOT_CONFIRMED

```

An error thrown by the plugin:

```
InsertModalBody.js:51 Uncaught TypeError: Cannot read property 'value' of undefined
at InsertModalBody. (InsertModalBody.js:51)
at Array.forEach ()
at InsertModalBody.getFieldValue (InsertModalBody.js:41)
at InsertModal.__handleSave__REACT_HOT_LOADER__ (InsertModal.js:63)
at InsertModal._this.handleSave (InsertModal.js:54)
at InsertModalFooter.__handleSaveBtnClick__REACT_HOT_LOADER__ (InsertModalFooter.js:68)
at InsertModalFooter._this.handleSaveBtnClick (InsertModalFooter.js:46)
at Object.ReactErrorUtils.invokeGuardedCallback (ReactErrorUtils.js:69)
at executeDispatch (EventPluginUtils.js:85)
at Object.executeDispatchesInOrder (EventPluginUtils.js:105)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。