Bug when I choose element in a dropdown list?

Hi community,

I use a drop-down list, to choose a value of an entity.
For example, I have Entity A
and for attribute A a I want to choose a value of Entity B a.
This field is required for my editor.

Now, when I try to chose one element, the Textfield will be “removed”, only when I choose this element 2 times of the dropdown, the textfield will stay.

For my not required ones, it works like a charme.
But for this, the text will just be removed…

Here is a part of the xml:

<column width="250px">
                <field caption="Use Case Status"
                       requiredMessage="Use Case Status required"
                       optionsDatasource="useCaseStatusDs"
                       property="usecaseStatus"/>
</column>

Thanks

Hi,
What do you mean by Textfield will be “removed”? Could you please share a small sample app where the problem can be reproduced?

Hi @shiryaeva,

no, everything is fine now.
Imagine, you have an Entity A and entity B.
You can define datasource in A about B.

For example, in A you have 2 textfields of attributes of B.
When you write for example something like:
“Test”, it will be -> “”,
means, the word Test is away…

for me it is, because there is “no” relation or any attribute which is related to Entity B.

If I have for example a property in A about B, then it would work, but if you just make datasources of entities, which have no relation, it will not work and the text you are writing was removed automatically in my case after I tipe something…

Hope it is more clearly now

If you want both the drop-down functionality and the ability to type in the field, you’d better use SearchPickerField or SuggestionPickerField.

1 Like