We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f43f7df commit 4ef2c89Copy full SHA for 4ef2c89
1 file changed
src/main/java/net/discordjug/javabot/systems/staff_commands/forms/model/FormData.java
@@ -83,7 +83,7 @@ public Optional<FormAttachmentInfo> getAttachmentInfo() {
83
*/
84
public List<Label> createComponents() {
85
List<Label> list = new ArrayList<>(fields.size());
86
- for (int i = 0; i < list.size(); i++) {
+ for (int i = 0; i < fields.size(); i++) {
87
FormField field = fields.get(i);
88
list.add(Label.of(fields.get(i).label(), field.createTextInput("text" + i)));
89
}
0 commit comments