質問編集履歴
4
console画像を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -146,6 +146,5 @@
|
|
146
146
|
export default TextfieldList;
|
147
147
|
|
148
148
|
```
|
149
|
-
|
150
|
-
|
151
|
-
|
149
|
+
currentオブジェクトをconsoleに出力した際、focusメソッドがない状態となっています。
|
150
|
+

|
3
親コンポーネントのレンダリング処理を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -51,6 +51,17 @@
|
|
51
51
|
xs: 9
|
52
52
|
}
|
53
53
|
}
|
54
|
+
return (
|
55
|
+
<>
|
56
|
+
<Stack spacing={2}>
|
57
|
+
<item>
|
58
|
+
<ComponentList lists={componentList1} setLists={setComponentlist} />
|
59
|
+
|
60
|
+
</item>
|
61
|
+
</Stack>
|
62
|
+
</>
|
63
|
+
);
|
64
|
+
}
|
54
65
|
|
55
66
|
|
56
67
|
|
2
閉じかっこを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -49,7 +49,8 @@
|
|
49
49
|
component: 'Typography',
|
50
50
|
key: 13,
|
51
51
|
xs: 9
|
52
|
-
}
|
52
|
+
}
|
53
|
+
}
|
53
54
|
|
54
55
|
|
55
56
|
|
1
変数名を修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
const hogeTextFieldRef = useRef();
|
23
23
|
const movehoge=()=>{
|
24
|
-
|
24
|
+
componentList1.hogeTextfield2.ref.current.focus()
|
25
25
|
}
|
26
26
|
const [componentList1, setComponentlist] = useState({
|
27
27
|
hogeTextfield1: {
|