39
Views
2
Comments
Solved
Not able to clear value in DropdownSearch
Application Type
Reactive

Hi all,

I have 2 questions - 1 regarding DropdownSearch, and 1 regarding ListRemove

I am trying to implement a DropdownSearch widget. What I am trying to achieve is that, I will select a team leader from the DropdownSearch. Thereafter, I will select the team members. If I select the team leader as the team member, I will have a warning message to inform that they cannot be the same. And i would want to remove the team member name from the selection.

However, it is not happening. My warning message is displayed as per what i want. However, the value is still there.

What am i doing wrongly in my application?


I had tried to work around the error by using ListRemove. However, depending on which row i choose to select the team leader to be the same as the team member, the whole list got remove instead. 

The first screenshot is taken before i am going to select the team leader in the 4th row. The second screenshot is taken after i selected the team leader.

What I am doing wrong here again?


Have already been searching the forum for answers, but couldn't find anything which can help me. Been struck at this for quite some time already, will definitely appreciate any advise or assistance!

The oml i attached, has got 2 screens. The main difference is that, in the ListRemove screen, i add in the ListRemove action. The rest of them, basically i duplicate.

Thank you!!!

SandBox.oml
2025-04-17 05-42-16
Ajit Kurane
Solution

Hi,

I have updated your oml. Rest of the changes you can do it as per your requirement.

You were using the same aggegate as a source list for dropdown.

Please check it on the dropdownsearch page.

Thanks,

Ajit Kurane.

SandBox_Updated.oml
2022-05-01 03-47-53
Jun Mun Chan

Thank you!! It works.

Another side question is that, we are fetching data again. Will it cause a performance issue?

Thank you!!!!!!!!!!!


** Edited and add-on comments

I will implement a check that the team leader has to be selected before team members can be selected. But since we have 2 fetch data, will it cause a performance issue? As each changes by the user, we have to 'refresh' the DB again

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.