major
minor
major
minor
If a form displays both the input value used to calculate the suggested values for a selection field and the selection field itself (e.g., when creating an object), then the drop-down list’s suggested values are calculated and displayed correctly if the input field is set first and the drop-down list is opened afterward (provided the selection is made via a pop-up dialog and not via a drop-down select box).
However, if the input value is changed again after the suggested values have been displayed once, the suggested values in the selection field are not updated.
When creating an object, this means that the entire form may need to be discarded and refilled.
When the options are displayed via a drop-down select box, the options are never updated (they remain as they were before any input was made in the form).
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/model/attribute/TestOptionProviderForPrimitiveTypes.script.xml