Popup not remembering dropdown values

My edit “sub task” popup is not remembering the values on the “Assignee” and “Status” dropdowns.
The data is entered into the database and when I click save it is not displaying in the repeating group (unless I select the options again)
When I click the “Edit Subtask” button I display the data in the popup:
Screen Shot 2020-03-15 at 2.46.22 pm

When I edit the subtask and hit save:

Not sure what I’m doing wrong

1 Like

Hi there, @eldados… can you show a screenshot(s) of the workflow associated with the Save button? Also, can you clarify what you mean when you say the updated values are not displaying in the repeating group unless you select the options again? Does that mean if you click the pencil icon and change the values again, the update values do get shown in the repeating group?

Best…
Mike

I display data in my popups in a different way and had no problems with it so maybe this can help.

Set the type of content to the data type you want to display, then for it’s source, reference the exact same popup, and add a new custom state of that same data type.

All the input boxes inside can then reference that data as Parent group’s data in their initial content.

When you make the workflow to have the popup appear, you then define the custom state of that popup to the specific data you want, usually, current cell’s data/parent group’s data etc.

Thank you guys,
It’s only the drop down that don’t remember their last value in the popup and when I save, my repeating group’s value revert to blanks (the multi-line input and date picker are good )
This is my workflow:
(abhi, I’m getting so confuse with the state, I have created “subtask” state but not sure where and how to use)

Screen Shot 2020-03-16 at 5.40.47 am Screen Shot 2020-03-16 at 5.41.08 am

Do the correct values appear in the popup when it is first shown? What is the workflow associated with the Save button on the popup?

Hi Mike,
Correct values appear only for the multi-line and date picker, the 2 dropdowns do not.
here is my Save workflow and the dropdown info:

To get the correct values to show up in the popup, I believe you need to set the Default value of those fields (not the Placeholder) to be the Parent group's Subtask's Assignee/Status. Give that a shot and let’s see if you can at least get the correct data to show up before the Save button is clicked.

1 Like

Thank you Mike,
Followed your tip and now when I open the popup it shows the last value, but when I save again, it removes the values from the repeating group

Are you sure you are using the correct values when the Save button is clicked? It might sound silly, but maybe you are referencing the fields that are used to create the subtask instead of the fields that are on the edit popup (which would explain your earlier statement that the values “revert to blanks” because the creation fields would be empty when the Save button is clicked). Without being able to see the editor, I’m just shooting in the dark here… but it’s something to check.

Thanks Mike and Abhi,
Problem is solved now, I was not referencing the correct field!
Thanks so much for your help :slight_smile: (I’m a newbie)

1 Like