-
New Feature
-
Resolution: Fixed
-
Neutral
-
5.3.6
-
-
Empty show more show less
Allow for the disabling of paging on the select field dropdown. From what I have seen in my investigation is that we could introduce a pageLength private member in info.magnolia.ui.form.field.definition.SelectFieldDefinition. Add the appropriate getter/setter as well. Then in the info.magnolia.ui.form.field.factory.SelectFieldFactory class we could add a line to the createFieldComponent() method which uses the setPageLength() method from com.vaadin.ui.ComboBox. Like this:
((ComboBox) select).setPageLength(definition.getPageLength());
This would then allow a user to configure the page length to 0 which turns off paging as noted in the class com.vaadin.ui.ComboBox.
/** * Holds value of property pageLength. 0 disables paging. */ protected int pageLength = 10;
Acceptance criteria
- is related to
-
MGNLUI-3438 filterMode on Select-Fields has no effect
- Closed