cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent EVS on DropDownByKey with ModifiableSimpleType

Former Member
0 Kudos

Hello,

i have DropDownByKey UI-Element bound via selectedKey property to a context attribute with type decimal.

Then i modified the SimpleType of this attribute to a key-value (decimal,string) map.

When i click on the dropdown to select an element, an extended value selector pops up with both, key and value columns.

How to prevent this? I just want the values in the dropdown to be directly selectable.

Thanks in advance!

Michael

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

So i guess the answer is, there is no way to prevent that behavior from a DropDownByKey UI-element.

Thank you anyway!

Former Member
0 Kudos

IIRC the Web Dynpro runtime automatically switches from a simple value selector to an extended value selector when the number of entries reaches a certain limit (30?). How many entries does your type define?

Former Member
0 Kudos

Yes i also realized that the behavior switches after round about 30 elements.

But is there any way to control that?

Like forcing the DropDown to show all elements instead of popping up an EVS, even if the amount of the elements is over 30?

Former Member
0 Kudos

With DropDownByIndex there is no such behaviour. On the other hand, a drop-down list with more than 30 entries might become a usability problem.