major
minor
major
minor
major
#26365
Enable explicit option ordering in selector.template.xml
The Selekt component has always displayed the options in alphabetical order. You cannot change the preselected option.
Improvement
As an option, users should be able to define the order of the options themselves based on the order provided by the Option Builder.
In addition, it should be possible to specify which option is selected by default.
Application
Additional configuration option ` alphabeticalOrder ` (set by default) to achieve the previous behavior (alphabetical sorting of options).
Additional configuration option ` defaultSelectionProvider` to preselect an option other than the first one.
Code Migration
The configuration option `offerClear ` has been removed. Resetting the selection is possible exactly when the component does not perform a default selection (see ` defaultSelection`).
Test
- com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/layout/selector/TestDefaultSelection.script.xml