Skip to content

Commit

Permalink
Formularfeld Dropdown sortieren (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenilsas authored Jan 12, 2025
1 parent 691cbb9 commit 04cf012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/de/jost_net/JVerein/gui/control/FormularfeldControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Collections;

import com.itextpdf.text.pdf.BaseFont;

Expand All @@ -40,7 +41,6 @@
import de.willuhn.jameica.gui.input.IntegerInput;
import de.willuhn.jameica.gui.input.SelectInput;
import de.willuhn.jameica.gui.input.TextInput;

import de.willuhn.logging.Logger;

public class FormularfeldControl extends FormularPartControl
Expand Down Expand Up @@ -277,6 +277,7 @@ public SelectInput getName() throws Exception
namen.add(Einstellungen.ZUSATZFELD_PRE + zusatzfeld.getName());
}
}
Collections.sort(namen);
name = new SelectInput(namen, getFormularfeld().getName());
return name;
}
Expand Down

0 comments on commit 04cf012

Please sign in to comment.