React初心者です。"LicType"下の図に示されている状態オブジェクトのプロパティを textfield の値として表示しようとしています。
今、searchJsonはsearchJson:"random text here"
<TextField
value={values.searchJson}/>searchJson がそのようにネストされていない場合に使用します。
LicType、nextOfKin、またはaccountNotesをテキストフィールドの値として表示またはアクセスするにはどうすればよいですか?
注: valuesprops を通過します。
編集
Values.searchJson[0].LicType は次のエラーを生成します
TypeError: Cannot read property 'fname' of undefined
