Refresh autocomplete options with that's dependent on the other parameter

I have a slash command with two parameters, first is the user and the second parameter is an autocomplete that is based on the selected user. But if I selected the wrong user and go back and change to a different user, the second parameter doesn't get updated? Is there a way to fix this without having the user to delete everything and restart?

e.g. if I pick user1, second parameter should have options [1, 2, 3]
if I pick user2, second paramenter should have options [4, 5, 6]
If I pick user1, and move on to second parameter, it shows 1, 2, 3; but if I go back to the first parameter and update that to user2, the second parameter does not get refreshed and still show [4, 5, 6].
Was this page helpful?