
Announcements
Hello everyone, I hope you are well. I'm writing because I'm currently having a bug with an editable grid so I need suggestions on what I could do. The methodology I used to create the gallery was the one proposed by Reza Dorrani in the following video; Power Apps Editable Grid using Gallery & Modern Controls (2023) - YouTube I followed the video step by step and the error I am getting is that the dropdowns do not show as default value the one saved in my list in some occasions. My gallery has the following Items property
I use as filter some Dropdown that I have in the top for my gallery. Inside my grid I have for example a dropdown that has the following property Items:
Choices('OKR COUNTS HISTORIES_H'.STRENGTH_ESTIMATION) and the DefaultSelectedItems property as.
LookUp(Choices('OKR COUNTS HISTORIES_H'.STRENGTH_ ESTIMATION), Value = ThisItem.STRENGTH_ ESTIMATION.Value) I already tried with ThisItem.STRENGTH_ ESTIMATION as shown in the video but as it did not work I resorted to the lookup to force the view of the values, I have also implemented a refresh of my list in the OnVisible property of my page and a refresh in the OnChange property of each of the dropdowns that I use as filter. However, testing the application I still have cases where when making filters by selecting or deselecting values within my gallery the lookup does not find anything and shows it as blank even though in my list I have a value saved, and then if I go back to filter or remove a filter it does show the value. I see it as a loading error but I would like to have some suggestions of what can I do. Inside my gallery a button is used as in the tutorial that saves a collection with the ediction changes while my gallery is connected to a list and I do not know if the error could be due to having two sources of information in the same gallery but apparently in the tutorial it works correctly and the comments do not mention any error.
I did not read everything you wrote, but it seems like you need to refresh the list inside of the dropdown. If there is anything that needs refreshed, do it, or add like something to the onselect to refresh or check what the choices are when it is selected